Commit Graph

123 Commits

Author SHA1 Message Date
7bf337a83b Example linuxfr. 2024-05-12 03:14:17 +02:00
5d6806d4a6 Fix various benchmark pain points. 2024-05-12 03:11:53 +02:00
73e96ddf59 Enable cars not to have color or keywords. 2024-05-11 14:21:42 +02:00
78e3a402aa Enable all indexes (index, partition, tag) to be nilable. 2024-05-11 14:20:22 +02:00
ee83252045 Some cleaning. 2024-05-11 02:19:03 +02:00
c0eacfbac0 Makefile: slightly different options. 2024-05-11 01:49:06 +02:00
cbed36d3b5 Finally a concise way to perform tests on different databases. 2024-05-11 01:48:27 +02:00
36ca2f5941 Rewriting the benchmarks to get better data. 2024-05-10 17:57:07 +02:00
df1819df66 Tests and benchmarks are now more consistent. 2024-05-10 15:23:28 +02:00
afd4dada05 benchmark-ramdb: already taken into account in benchmark-cars. 2024-05-10 12:28:23 +02:00
ae81e31513 Add some basic benchmark for adding values in different database types. 2024-05-10 02:57:55 +02:00
a7a9aa59c9 Behavior of cached database is now covered by a few tests. 2024-05-10 00:06:31 +02:00
97ff53dc29 Specs are fixed & reworked for the most part. New benchmarks. 2024-05-09 18:41:20 +02:00
9b6c39a7d4 s/exists?/symlink?/ + remove useless check + remove useless call to a function. 2024-05-09 16:24:07 +02:00
e74e7b8a61 Slight optimization in tag searches. 2024-05-09 16:21:46 +02:00
e4f1120335 Test some reindex stuff with the Car database. 2024-05-09 12:24:27 +02:00
67099a2369 Benchmark RAM db. 2024-05-09 12:22:13 +02:00
52462d141e Proper Car database and functions. 2024-05-09 12:18:46 +02:00
1ef1f61615 Rewrites lead to a working spec file. 2024-05-09 01:32:57 +02:00
54c9f9024d Specs changed. 2024-05-09 00:33:56 +02:00
cf57773a25 More consistent API. 2024-05-09 00:04:15 +02:00
8a96c3302c Spec: less errors. 2024-05-09 00:03:34 +02:00
fbdb451f0e Block captures fixed. 2024-05-08 22:43:28 +02:00
eac9a77fa6 Fix delete functions for tags & partition. 2024-05-08 21:32:21 +02:00
9b897ac62b TODO: RAMOnlyTags + tests tests tests. 2024-05-08 20:29:53 +02:00
401578c77d Index: change get_key to either walk the FS or the cached db index. 2024-05-07 14:53:03 +02:00
bb6d9a26f7 Don't clone data by default. User can clone only when relevant. 2024-05-07 13:05:01 +02:00
345390f4db Test data: the "Car" class must have a "clone" function. 2024-05-07 01:38:52 +02:00
cab18cd26b Call a simpler function. 2024-05-07 01:37:46 +02:00
b4460e59fa For cached databases: clone the requested value to avoid problems. 2024-05-07 01:34:15 +02:00
351df7426f Fix partition implementation. 2024-05-07 00:03:07 +02:00
b590cb9e0f Only catches "File Not Found" error while deleting a value in dodb.cr. 2024-05-07 00:01:31 +02:00
8dfbe28986 Fix cached indexes not working when databases aren't reindexed on start. 2024-05-06 23:52:17 +02:00
7404411ec5 MissingEntry -> KeyError 2024-05-06 21:24:34 +02:00
8a585a2679 MissingEntry -> KeyError 2024-05-06 20:32:27 +02:00
0dc384dd79 Enable "get?" functions for partitions and tags. 2024-05-06 20:20:07 +02:00
183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +02:00
a92b27d80d Add a TODO. 2024-05-06 14:43:59 +02:00
0d0acc8dff Add a sample makefile. 2024-05-06 14:41:07 +02:00
061e945384 Add cached indexes (index, partition, tag): we are now 500x faster. 2024-05-06 13:02:14 +02:00
f5c9d1a7f2 Remove ".json" suffix in the generated files. 2024-05-06 11:47:07 +02:00
96f290eb40 Add a warning message on directed graphs. 2024-05-06 11:38:22 +02:00
0cfb5146f3 README: let's talk about speed up. 2024-05-05 01:03:27 +02:00
197af64c83 Way faster searches by indexes (index, partition, tags) with a cached DB. 2024-05-05 00:43:15 +02:00
d91452a5ae Add a very clumsy benchmark on a car database. 2024-05-04 23:12:32 +02:00
f2a76c288e README: talk a bit more about the limits of DODB. 2024-05-04 20:14:47 +02:00
9fed7145e5 Index: print the symlink path on collision. 2024-05-02 23:41:21 +02:00
3a4ffcedd8 Now that tags are working, change version. 2024-04-26 23:30:07 +02:00
fce2b633ce Readme update to include a few words on tags. 2024-04-26 23:28:36 +02:00
bcfe5d44d6 Tags should now be working as expected. 2024-04-26 23:26:56 +02:00