Zen 98052
2016-06-09 14:51:59 UTC
Hi,
I am using our own custom db to store the triples data, and I'd like to put the code to measure net perf on how long it takes reading/writing to the store.
For update operation, since I subclass DatasetGraphBase class (which has startRequest and finishRequest functions), I can put the start/stop time in those functions.
However, for query operation, I subclass from GraphBase class, which has graphBaseFind function, which returns iterator.
Do you know where can I put the start/stop time in that case? Or does Jena already have the code to log the perf that I can enable?
Thanks,
Z
I am using our own custom db to store the triples data, and I'd like to put the code to measure net perf on how long it takes reading/writing to the store.
For update operation, since I subclass DatasetGraphBase class (which has startRequest and finishRequest functions), I can put the start/stop time in those functions.
However, for query operation, I subclass from GraphBase class, which has graphBaseFind function, which returns iterator.
Do you know where can I put the start/stop time in that case? Or does Jena already have the code to log the perf that I can enable?
Thanks,
Z