Class for profiling requests.
This resources requires that you have the xhprof module enabled on your Apache web server. It's also easiest to use when you have the mod rewrite module enabled Syntax LudoDBProfiling/resourceToProfile/arg1/arg2/resourceServiceToProfile/profile i.e first argument is LudoDBProfiling and last argument should be profile. The arguments in between is the request you want to profile, example
http://localhost/LudoDBProfiling/Person/1/read/profile
| package | LudoDB |
|---|
__construct()
end() : null | string
nullstring
getOnSuccessMessageFor(String $service) : String
String
StringgetTimeUsage() : mixed
mixedgetValidServices() : array
arrayprofile(array $data) : array
shouldCache($service) : bool
When true a serialized version of LudoDBModel::read will be stored in a caching table. When caching is enabled, you should also implement clearCache() to clear cache in case Data has been changed.
boolvalidateArguments(String $service, Array $arguments) : bool
String
Array
boolvalidateServiceData(string $service, array $data) : bool
string
array
boolgetPath() : string
string$arguments : array
$name : string
$start : int