Commit Graph

19 Commits (75fe592758f26137200c684ed7e525f97c1cb7b7)

Author SHA1 Message Date
Raphael Taylor-Davies 65f7a1ac5b
fix: use consistent crate versions (#989)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-15 15:42:19 +00:00
Andrew Lamb 5bb530ccc6
refactor: rename tsm --> influxdb_tsm (#418) 2020-11-05 14:35:38 -05:00
Andrew Lamb a52e0001c5
refactor: rename all crates that start with`delorean_` in preparation for rename (#415)
* refactor: rename delorean_cluster --> cluster

* refactor: rebane delorean_generated_types --> generated_types

* refactor: rename delorean_write_buffer --> write_buffer

* refactor: rename delorean_ingest --> ingest

* refactor: rename delorean_storage --> storage

* refactor: rename delorean_tsm --> tsm

* refactor: rename delorean_test_helpers --> test_helpers

* refactor: rename delorean_arrow --> arrow_deps

* refactor: rename delorean_line_parser --> influxdb_line_protocol
2020-11-05 13:44:36 -05:00
Carol (Nichols || Goulding) 683205ad03 refactor: Use `Vec::clear` instead of `Vec::truncate(0)` 2020-06-22 15:32:15 -04:00
Edd Robinson 621f2f91f0 refactor: hoist tsm mapper to delorean_tsm 2020-06-22 18:56:17 +01:00
Edd Robinson c2b49a7804 refactor: please clippy 2020-02-27 19:41:55 +00:00
Carol (Nichols || Goulding) be9b2bf695 fix: cargo fmt 2020-02-14 12:47:58 -05:00
Carol (Nichols || Goulding) 78b008a062 fix: Use size_of T instead of hardcoded 8 2020-02-14 12:47:13 -05:00
Carol (Nichols || Goulding) 6463601676 fix: Use TryFrom instead of as to get noisy conversion errors 2020-02-14 11:40:36 -05:00
Carol (Nichols || Goulding) 575907814c fix: Make batch sizes be usize and convert through i32 when needed 2020-02-14 11:39:26 -05:00
Carol (Nichols || Goulding) 3a3a7993b2 refactor: Extract a function for benchmarking decoding 2020-02-12 13:08:11 -05:00
Carol (Nichols || Goulding) 72ea8c09c9 fix: Move a vec allocation outside of the benchmarked code
This is consistent with the rest of the decode benchmarks and I think
matches the benchmark intentions best.
2020-02-12 12:45:43 -05:00
Carol (Nichols || Goulding) c498d1f524 fix: Remove truncate from encoding benchmark
The first thing the `encode` function does is truncate the `dst` buffer,
so this should never be necessary inside the code being benchmarked for
testing encoders.
2020-02-12 12:42:54 -05:00
Carol (Nichols || Goulding) 1fc46c33f3 refactor: Call the general encoding benchmarking fn for CPU values 2020-02-12 11:46:49 -05:00
Carol (Nichols || Goulding) b36c4b9672 refactor: Extract shared benchmarking of encoding
Benchmarking random values was more general than sequential since it
takes an arbitrary function to create the decoded values; express
sequential in terms of random and change the name of random to be
general benchmarking of encoding.
2020-02-12 11:44:08 -05:00
Carol (Nichols || Goulding) 2080bfc5c4 refactor: Extract a fn for benchmarking encoding of random values 2020-02-12 11:41:25 -05:00
Carol (Nichols || Goulding) 532329f83e refactor: Extract a fn for benchmarking encoding of sequential values 2020-02-12 11:30:21 -05:00
Carol (Nichols || Goulding) 85b5d339a9 refactor: Extract batch sizes into constants
Exposes which tests use which batch sizes more clearly; names of
constants could be improved.
2020-02-12 11:14:57 -05:00
Carol (Nichols || Goulding) e361cded92 refactor: Move all encoder benchmarks to one file 2020-02-12 11:08:07 -05:00