BlogDocs

refactor: Remove metakey concept(#5319)

Merged
Comparing
remove-metakey
(
11ef737
) with
main
(
297bbf9
)
-17%
IMPROVEMENTS
4
REGRESSIONS
10
UNTOUCHED
59
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

bytes buf 256 KiB * 32 advanceRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 32 advance
-12%
435 ns
493.3 ns
bytes buf 256 KiB * 4 advanceRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 4 advance
-12%
435 ns
493.3 ns
bytes buf 4.00 MiB * 32 advanceRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 32 advance
-12%
435 ns
493.3 ns
bytes buf 4.00 MiB * 4 advanceRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 4 advance
-12%
435 ns
493.3 ns
256 KiB * 1000k truncateRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1000k truncate
-11%
245.8 ns
275 ns
256 KiB * 100k truncateRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 100k truncate
-11%
245.8 ns
275 ns
256 KiB * 10k truncateRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 10k truncate
-11%
245.8 ns
275 ns
256 KiB * 1k truncateRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1k truncate
-11%
245.8 ns
275 ns
concurrent 16Regression
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 16
-17%
299.8 µs
359.5 µs
concurrent 8Regression
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 8
-12%
319.2 µs
363.9 µs

Improved

256 KiB * 1000k chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1000k chunk
+19%
183.6 ns
154.4 ns
256 KiB * 100k chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 100k chunk
+19%
183.6 ns
154.4 ns
256 KiB * 1k chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1k chunk
+19%
183.6 ns
154.4 ns
256 KiB * 10k chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 10k chunk
+16%
212.8 ns
183.6 ns

Passed

8x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 KiB
+1%
138.6 µs
137.5 µs
4x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x16.0 MiB
0%
91.9 µs
91.5 µs
16x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 MiB
0%
240.1 µs
239.4 µs
4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::4.00 MiB
0%
2.2 ms
2.2 ms
16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::16.0 MiB
0%
8.5 ms
8.5 ms
256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::256 KiB
0%
192.4 µs
192 µs
16x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x16.0 MiB
0%
237.3 µs
236.9 µs
256 KiB * 1k advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1k advance
0%
17.9 µs
17.9 µs
8x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x16.0 MiB
0%
141 µs
140.8 µs
256 KiB * 10k advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 10k advance
0%
174.2 µs
174.1 µs
4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::4.00 KiB
0%
62.2 µs
62.2 µs
256 KiB * 100k advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 100k advance
0%
1.7 ms
1.7 ms
256 KiB * 1000k advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1000k advance
0%
17.4 ms
17.4 ms
buffer 256 KiB * 32 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 32 chunk
0%
183.6 ns
183.6 ns
buffer 256 KiB * 32 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 32 truncate
0%
404.4 ns
404.4 ns
buffer 256 KiB * 4 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 4 chunk
0%
154.4 ns
154.4 ns
buffer 256 KiB * 4 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 4 truncate
0%
404.4 ns
404.4 ns
buffer 4.00 MiB * 32 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 32 chunk
0%
154.4 ns
154.4 ns
buffer 4.00 MiB * 32 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 32 truncate
0%
404.4 ns
404.4 ns
buffer 4.00 MiB * 4 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 4 chunk
0%
154.4 ns
154.4 ns
buffer 4.00 MiB * 4 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 4 truncate
0%
404.4 ns
404.4 ns
concurrent 1
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 1
0%
270.1 µs
270.1 µs
2x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 MiB
0%
67 µs
67.1 µs
16x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 KiB
0%
235.6 µs
236 µs
2
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::2
0%
91.9 µs
92.2 µs
4.00 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 KiB
0%
56.5 µs
56.6 µs
8x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 MiB
0%
141.1 µs
141.5 µs
8
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::8
0%
92 µs
92.3 µs
1x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x16.0 MiB
0%
54.6 µs
54.8 µs
1x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x256 KiB
0%
54.9 µs
55.2 µs
4
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::4
0%
91.9 µs
92.4 µs
2x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x16.0 MiB
0%
66.9 µs
67.2 µs
1x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 KiB
-1%
54.7 µs
54.9 µs
2x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x256 KiB
-1%
67 µs
67.4 µs
4x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 KiB
-1%
90.5 µs
91.1 µs
1
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::1
-1%
91.5 µs
92.1 µs
2x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 KiB
-1%
66.6 µs
67.1 µs
1x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 MiB
-1%
54.5 µs
54.9 µs
256 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::256 KiB
-1%
56.4 µs
56.8 µs
16x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x256 KiB
-1%
237.5 µs
239.4 µs
4.00 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 MiB
-1%
56.3 µs
56.8 µs
8x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x256 KiB
-1%
139.6 µs
141 µs
16.0 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::16.0 MiB
-1%
56.3 µs
56.9 µs
4x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x256 KiB
-1%
91.2 µs
92.3 µs
4x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 MiB
-1%
91.1 µs
92.2 µs
concurrent 2
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 2
-2%
528.6 µs
541.4 µs
concurrent 4
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 4
-3%
393.8 µs
407.8 µs
buffer 256 KiB * 32 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 32 advance
-4%
660.6 ns
689.7 ns
buffer 256 KiB * 4 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 4 advance
-4%
660.6 ns
689.7 ns
buffer 4.00 MiB * 32 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 32 advance
-4%
660.6 ns
689.7 ns
buffer 4.00 MiB * 4 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 4 advance
-4%
660.6 ns
689.7 ns
bytes buf 256 KiB * 32 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 32 chunk
N/A
0 s
0 s
bytes buf 256 KiB * 32 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 32 truncate
-6%
494.4 ns
523.6 ns
bytes buf 256 KiB * 4 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 4 chunk
N/A
0 s
0 s
bytes buf 256 KiB * 4 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 4 truncate
-6%
494.4 ns
523.6 ns
bytes buf 4.00 MiB * 32 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 32 chunk
N/A
0 s
0 s
bytes buf 4.00 MiB * 32 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 32 truncate
-6%
494.4 ns
523.6 ns
bytes buf 4.00 MiB * 4 chunk
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 4 chunk
N/A
0 s
0 s
bytes buf 4.00 MiB * 4 truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 4 truncate
-6%
494.4 ns
523.6 ns

Commits

Click on a commit to change the comparison range
base
main
297bbf9
-16%
refactor: Remove metakey concept Signed-off-by: Xuanwo <github@xuanwo.io>
db0fd61
10 days ago
by Xuanwo
-4%
We don't need flagset anymore Signed-off-by: Xuanwo <github@xuanwo.io>
97fce68
10 days ago
by Xuanwo
+3%
Fix unit tests Signed-off-by: Xuanwo <github@xuanwo.io>
11ef737
10 days ago
by Xuanwo
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.