Commit Graph

182 Commits (7272b9fe6f856f33d7500199777ea481d4ea8460)

Author SHA1 Message Date
Philippe PITTOLI cc5d6ff78f Fix various benchmark pain points. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI c4fce3c4a4 Enable cars not to have color or keywords. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 5a2f17f7e0 Enable all indexes (index, partition, tag) to be nilable. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 56fde98492 Some cleaning. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 9d1da890f3 Makefile: slightly different options. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 8161ea3f82 Finally a concise way to perform tests on different databases. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 53c69d0c5d Rewriting the benchmarks to get better data. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI c124b23d7a Tests and benchmarks are now more consistent. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 0a357446ef benchmark-ramdb: already taken into account in benchmark-cars. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 0389ed85ed Add some basic benchmark for adding values in different database types. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 5ce24184be Behavior of cached database is now covered by a few tests. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI c475c4f584 Specs are fixed & reworked for the most part. New benchmarks. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 2a71254533 s/exists?/symlink?/ + remove useless check + remove useless call to a function. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI d29b29bc1b Slight optimization in tag searches. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 0b4cdf00b7 Test some reindex stuff with the Car database. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 835626a6dd Benchmark RAM db. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 90b6563068 Proper Car database and functions. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 5bf6b21d5d Rewrites lead to a working spec file. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI dd7ed3010d Specs changed. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 42b82c8fa5 More consistent API. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI c88e738332 Spec: less errors. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI b3e416da8d Block captures fixed. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI a141849f2a Fix delete functions for tags & partition. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 031175a90a TODO: RAMOnlyTags + tests tests tests. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI 66256c7650 Blah 2024-05-15 14:15:20 +02:00
Philippe PITTOLI afa96d8ae7 A few new explanations. 2024-05-15 03:10:59 +02:00
Philippe PITTOLI 6f170b60ab DODB 2024-05-14 16:19:46 +02:00
Philippe PITTOLI 03da23e8e2 Let's shit on SQL a bit more. 2024-05-14 13:51:13 +02:00
Philippe PITTOLI fc52757074 DODB PDF. 2024-05-13 21:46:02 +02:00
Philippe PITTOLI a986e56264 Graph: a few more sentenses. 2024-05-13 03:38:41 +02:00
Philippe PITTOLI 71d8fa53d5 Longer explanation of the experimental scenario. 2024-05-13 02:24:59 +02:00
Philippe PITTOLI 7428ba757c Graphs: starting to look good. 2024-05-12 20:47:09 +02:00
Philippe PITTOLI 20c7068e4c Graph: change the Y scale. 2024-05-12 19:24:50 +02:00
Philippe PITTOLI 3396c6a05c Graphs! 2024-05-12 16:47:53 +02:00
Philippe PITTOLI 401578c77d Index: change `get_key` to either walk the FS or the cached db index. 2024-05-07 14:53:03 +02:00
Philippe PITTOLI bb6d9a26f7 Don't clone data by default. User can clone only when relevant. 2024-05-07 13:05:01 +02:00
Philippe PITTOLI 345390f4db Test data: the "Car" class must have a "clone" function. 2024-05-07 01:38:52 +02:00
Philippe PITTOLI cab18cd26b Call a simpler function. 2024-05-07 01:37:46 +02:00
Philippe PITTOLI b4460e59fa For cached databases: clone the requested value to avoid problems. 2024-05-07 01:34:15 +02:00
Philippe PITTOLI 351df7426f Fix partition implementation. 2024-05-07 00:03:07 +02:00
Philippe PITTOLI b590cb9e0f Only catches "File Not Found" error while deleting a value in dodb.cr. 2024-05-07 00:01:31 +02:00
Philippe PITTOLI 8dfbe28986 Fix cached indexes not working when databases aren't reindexed on start. 2024-05-06 23:52:17 +02:00
Philippe PITTOLI 7404411ec5 MissingEntry -> KeyError 2024-05-06 21:24:34 +02:00
Philippe PITTOLI 8a585a2679 MissingEntry -> KeyError 2024-05-06 20:32:27 +02:00
Philippe PITTOLI 0dc384dd79 Enable "get?" functions for partitions and tags. 2024-05-06 20:20:07 +02:00
Philippe PITTOLI 183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +02:00
Philippe PITTOLI a92b27d80d Add a TODO. 2024-05-06 14:43:59 +02:00
Philippe PITTOLI 0d0acc8dff Add a sample makefile. 2024-05-06 14:41:07 +02:00
Philippe PITTOLI 061e945384 Add cached indexes (index, partition, tag): we are now 500x faster. 2024-05-06 13:02:14 +02:00
Philippe PITTOLI f5c9d1a7f2 Remove ".json" suffix in the generated files. 2024-05-06 11:47:07 +02:00