Commit Graph

44 Commits (61020dfd5990f84412171c4b422851a7393180d9)

Author SHA1 Message Date
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
Luka Vandervelden 603a65c6f4 Fixes a possible issue with DB reopening. 2020-01-07 16:06:18 +01:00
Luka Vandervelden 10448d6b0b Finalizes the DataBase(K, V) -> DataBase(V) change. 2019-12-28 03:24:05 +01:00
Luka Vandervelden 3f53034b5a DataBase(K, V) becomes DataBase(V). 2019-12-18 03:43:09 +01:00
Luka Vandervelden c4030d4179 Migration test and example. 2019-12-17 18:16:13 +01:00
Luka Vandervelden 858d92970d reindex_everything! method added. 2019-12-12 00:01:02 +01:00
Luka Vandervelden aec1dc2011 Name change.
This time it follows our project conventions.
2019-12-11 23:18:20 +01:00
Luka Vandervelden 474613368a Crystal specs added. 2019-12-11 22:41:52 +01:00