summaryrefslogtreecommitdiff
path: root/utils/benchmark/tracker-benchmark.c
Commit message (Collapse)AuthorAgeFilesLines
* benchmark: Add benchmark tests for TrackerSparqlStatement update operationsCarlos Garnacho2022-12-241-17/+126
|
* utils: Improve output of tracker-benchmarkCarlos Garnacho2022-08-301-2/+3
| | | | | | In order to provide a clue about the benchmark that it's currently busy with, do not wait for the benchmark to be complete to print its title.
* utils: Add 2 more cases to tracker-benchmarkCarlos Garnacho2022-08-301-0/+98
| | | | | | | Also provide timing info about: - Simple updates to a number of resources - Deletion of resources.
* utils: Add benchmark utilityCarlos Garnacho2022-02-271-0/+430
This executable is only built in-tree and not installed, mostly useful so developers can check performance improvements and regressions. For reference and future baseline, the output is: ``` $ ./utils/benchmark/tracker-benchmark Batch size: 5000, Individual test duration: 30 sec Opening in-memory database… Test Elements Elems/sec Min Max Avg Resource batch update (sync) 1016148,459 33871,615 27,302 usec 40,300 usec 29,523 usec SPARQL batch update (sync) 365763,206 12192,107 76,743 usec 93,013 usec 82,020 usec Prepared statement query (sync) 1931876,356 64395,879 13,000 usec 5,158 msec 15,529 usec SPARQL query (sync) 220222,325 7340,744 123,000 usec 1,350 msec 136,226 usec ``` This is on an Intel Core i5-6200U CPU.