Commit Graph

61 Commits

Author SHA1 Message Date
14ed5dda5c FIFO database -> Common database. 2024-05-25 03:41:00 +02:00
e608981fa9 More tests for FIFO. 2024-05-25 02:36:43 +02:00
54676448b8 Test SPECDB::FIFO for the right eviction of cached data. 2024-05-25 02:26:23 +02:00
acd71238df Specs: fifo. 2024-05-25 02:22:52 +02:00
188c5a439e Try to get data from FIFO structure. 2024-05-24 00:35:04 +02:00
fefc4e9b26 FIFO + paper 2024-05-24 00:25:28 +02:00
09678965e0 FIFO implementation improved: let's see the results. 2024-05-23 14:18:16 +02:00
375f3bdf69 Index::Index -> Index::Basic 2024-05-23 07:10:19 +02:00
633085f63b Massive class renaming. 2024-05-22 18:29:08 +02:00
5a6a3abc2c Improve consistency tests. 2024-05-22 17:36:45 +02:00
255cfe4162 New consistency verification for indexes. 2024-05-22 05:34:14 +02:00
b0d59c92dc Test ships: new API. 2024-05-22 05:05:43 +02:00
ce50f6f334 test-ships: changes in Tags taken into account. 2024-05-22 03:57:35 +02:00
0549879140 API change: get_with_index -> get_with_keys 2024-05-21 20:57:44 +02:00
d1a57248be Specs: remove empty RAM-only database directories. 2024-05-21 13:52:52 +02:00
bc0017c6b7 Properly removes test database directories. 2024-05-21 13:15:19 +02:00
39b427886f spec/test-ships.cr: tests are passing. 2024-05-20 03:14:47 +02:00
143b2fa4b4 spec/db-cars.cr updated for the new API. 2024-05-20 03:06:25 +02:00
1e6814f4db Benchmarks: provide reports to simplify the code for statistical analysis. 2024-05-15 14:17:15 +02:00
f888353ffb benchmark-cars has been rewritten to perform WAY FASTER benchmarks. 2024-05-15 14:17:15 +02:00
cc5d6ff78f Fix various benchmark pain points. 2024-05-15 14:17:15 +02:00
c4fce3c4a4 Enable cars not to have color or keywords. 2024-05-15 14:17:15 +02:00
56fde98492 Some cleaning. 2024-05-15 14:17:15 +02:00
8161ea3f82 Finally a concise way to perform tests on different databases. 2024-05-15 14:17:15 +02:00
53c69d0c5d Rewriting the benchmarks to get better data. 2024-05-15 14:17:15 +02:00
c124b23d7a Tests and benchmarks are now more consistent. 2024-05-15 14:17:15 +02:00
0a357446ef benchmark-ramdb: already taken into account in benchmark-cars. 2024-05-15 14:17:15 +02:00
0389ed85ed Add some basic benchmark for adding values in different database types. 2024-05-15 14:17:15 +02:00
5ce24184be Behavior of cached database is now covered by a few tests. 2024-05-15 14:17:15 +02:00
c475c4f584 Specs are fixed & reworked for the most part. New benchmarks. 2024-05-15 14:17:15 +02:00
0b4cdf00b7 Test some reindex stuff with the Car database. 2024-05-15 14:17:15 +02:00
835626a6dd Benchmark RAM db. 2024-05-15 14:17:15 +02:00
90b6563068 Proper Car database and functions. 2024-05-15 14:17:15 +02:00
dd7ed3010d Specs changed. 2024-05-15 14:17:15 +02:00
c88e738332 Spec: less errors. 2024-05-15 14:17:15 +02:00
345390f4db Test data: the "Car" class must have a "clone" function. 2024-05-07 01:38:52 +02:00
183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +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
7584c3acc0 Rewrite of the tag mechanism. Tests are needed. 2024-04-26 19:35:00 +02:00
4fe2719f31 Merge branch 'master' + DODB::CachedDataBase. 2020-07-21 13:25:48 +02:00
161a6e1f44 Adding cached operations DODB::CachedDataBase(V). 2020-07-21 12:49:32 +02:00
48cf3c23be Fixes issues related to parallel updates. 2020-07-20 15:04:17 +02:00
2dd42f3a30 Some tests and extra code for parallelization of DODB. 2020-07-20 14:23:10 +02:00
800d139a3d WIP for lock files and atomic operations. 2020-06-24 21:45:45 +02:00
f8e4e6c343 Partition#get(unknown_partition) returns [] 2020-02-11 19:47:13 +01:00
74aff338ff Partition#delete test added 2020-02-11 19:45:54 +01:00
eb50b5c433 Adds tests for DODB::Index(V)#update(String, V). 2020-01-30 03:23:02 +01:00
364887bde3 WIP for indexing by multiple tags.
Basically, DODB::Tags#get(tags : Array(String)).
2020-01-29 16:59:39 +01:00
c2aa834a3a Makes the migration test more repeatable. 2020-01-17 13:07:41 +01:00