Commit Graph

57 Commits (543e1ce80f714d78f5d408933d2dab13d5af8903)

Author SHA1 Message Date
Philippe PITTOLI 188c5a439e Try to get data from FIFO structure. 2024-05-24 00:35:04 +02:00
Philippe PITTOLI fefc4e9b26 FIFO + paper 2024-05-24 00:25:28 +02:00
Philippe PITTOLI 09678965e0 FIFO implementation improved: let's see the results. 2024-05-23 14:18:16 +02:00
Philippe PITTOLI 375f3bdf69 Index::Index -> Index::Basic 2024-05-23 07:10:19 +02:00
Philippe PITTOLI 633085f63b Massive class renaming. 2024-05-22 18:29:08 +02:00
Philippe PITTOLI 5a6a3abc2c Improve consistency tests. 2024-05-22 17:36:45 +02:00
Philippe PITTOLI 255cfe4162 New consistency verification for indexes. 2024-05-22 05:34:14 +02:00
Philippe PITTOLI b0d59c92dc Test ships: new API. 2024-05-22 05:05:43 +02:00
Philippe PITTOLI ce50f6f334 test-ships: changes in Tags taken into account. 2024-05-22 03:57:35 +02:00
Philippe PITTOLI 0549879140 API change: get_with_index -> get_with_keys 2024-05-21 20:57:44 +02:00
Philippe PITTOLI d1a57248be Specs: remove empty RAM-only database directories. 2024-05-21 13:52:52 +02:00
Philippe PITTOLI bc0017c6b7 Properly removes test database directories. 2024-05-21 13:15:19 +02:00
Philippe PITTOLI 39b427886f spec/test-ships.cr: tests are passing. 2024-05-20 03:14:47 +02:00
Philippe PITTOLI 143b2fa4b4 spec/db-cars.cr updated for the new API. 2024-05-20 03:06:25 +02:00
Philippe PITTOLI 1e6814f4db Benchmarks: provide reports to simplify the code for statistical analysis. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI f888353ffb benchmark-cars has been rewritten to perform WAY FASTER benchmarks. 2024-05-15 14:17:15 +02:00
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 56fde98492 Some cleaning. 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 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 dd7ed3010d Specs changed. 2024-05-15 14:17:15 +02:00
Philippe PITTOLI c88e738332 Spec: less errors. 2024-05-15 14:17:15 +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 183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +02:00
Philippe PITTOLI 197af64c83 Way faster searches by indexes (index, partition, tags) with a cached DB. 2024-05-05 00:43:15 +02:00
Philippe PITTOLI d91452a5ae Add a very clumsy benchmark on a car database. 2024-05-04 23:12:32 +02:00
Karchnu 7584c3acc0 Rewrite of the tag mechanism. Tests are needed. 2024-04-26 19:35:00 +02:00
Karchnu 4fe2719f31 Merge branch 'master' + DODB::CachedDataBase. 2020-07-21 13:25:48 +02:00
Karchnu 161a6e1f44 Adding cached operations DODB::CachedDataBase(V). 2020-07-21 12:49:32 +02:00
Luka Vandervelden 48cf3c23be Fixes issues related to parallel updates. 2020-07-20 15:04:17 +02:00
Luka Vandervelden 2dd42f3a30 Some tests and extra code for parallelization of DODB. 2020-07-20 14:23:10 +02:00
Luka Vandervelden 800d139a3d WIP for lock files and atomic operations. 2020-06-24 21:45:45 +02:00
Luka Vandervelden f8e4e6c343 Partition#get(unknown_partition) returns [] 2020-02-11 19:47:13 +01:00
Luka Vandervelden 74aff338ff Partition#delete test added 2020-02-11 19:45:54 +01:00
Luka Vandervelden eb50b5c433 Adds tests for DODB::Index(V)#update(String, V). 2020-01-30 03:23:02 +01:00
Luka Vandervelden 364887bde3 WIP for indexing by multiple tags.
Basically, DODB::Tags#get(tags : Array(String)).
2020-01-29 16:59:39 +01:00
Luka Vandervelden c2aa834a3a Makes the migration test more repeatable. 2020-01-17 13:07:41 +01:00
Luka Vandervelden 6dc3a6d2f7 Fixes reversed: true.
Hey crystal, why don’t you have reversed ranges?
2020-01-13 13:48:24 +01:00
Luka Vandervelden 011348b33a start_offset, end_offset added in each and to_a. 2020-01-12 15:12:01 +01:00
Luka Vandervelden 1bb5268602 Improved reverse searches a bit. 2020-01-12 14:50:10 +01:00
Luka Vandervelden 863bf369b8 #reverse_each, #reverse_each_with_index added. 2020-01-10 17:20:10 +01:00