Commit Graph

39 Commits

Author SHA1 Message Date
ee83252045 Some cleaning. 2024-05-11 02:19:03 +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
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
54c9f9024d Specs changed. 2024-05-09 00:33:56 +02:00
8a96c3302c Spec: less errors. 2024-05-09 00:03:34 +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
6dc3a6d2f7 Fixes reversed: true.
Hey crystal, why don’t you have reversed ranges?
2020-01-13 13:48:24 +01:00
011348b33a start_offset, end_offset added in each and to_a. 2020-01-12 15:12:01 +01:00
1bb5268602 Improved reverse searches a bit. 2020-01-12 14:50:10 +01:00
863bf369b8 #reverse_each, #reverse_each_with_index added. 2020-01-10 17:20:10 +01:00
603a65c6f4 Fixes a possible issue with DB reopening. 2020-01-07 16:06:18 +01:00
10448d6b0b Finalizes the DataBase(K, V) -> DataBase(V) change. 2019-12-28 03:24:05 +01:00
3f53034b5a DataBase(K, V) becomes DataBase(V). 2019-12-18 03:43:09 +01:00
c4030d4179 Migration test and example. 2019-12-17 18:16:13 +01:00
858d92970d reindex_everything! method added. 2019-12-12 00:01:02 +01:00
aec1dc2011 Name change.
This time it follows our project conventions.
2019-12-11 23:18:20 +01:00
474613368a Crystal specs added. 2019-12-11 22:41:52 +01:00