BlogDocs

chore: Polish the debug output of capability(#5315)

Merged
Comparing
polish-capability
(
7310ef0
) with
main
(
7b18680
)
-16%
IMPROVEMENTS
0
REGRESSIONS
8
UNTOUCHED
65
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

buffer 256 KiB * 32 chunkRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 32 chunk
-14%
183.6 ns
212.8 ns
buffer 256 KiB * 4 chunkRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 4 chunk
-16%
154.4 ns
183.6 ns
buffer 4.00 MiB * 32 chunkRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 32 chunk
-16%
154.4 ns
183.6 ns
buffer 4.00 MiB * 4 chunkRegression
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 4 chunk
-16%
154.4 ns
183.6 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

Passed

4x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x16.0 MiB
+1%
91.8 µs
91.4 µs
8x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 KiB
0%
138.2 µs
137.6 µs
2
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::2
0%
92.1 µs
92.1 µs
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
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
0%
660.6 ns
660.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 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 256 KiB * 4 advance
0%
660.6 ns
660.6 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 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 32 advance
0%
660.6 ns
660.6 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 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::buffer 4.00 MiB * 4 advance
0%
660.6 ns
660.6 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
bytes buf 256 KiB * 32 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 32 advance
0%
464.2 ns
464.2 ns
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
4.00 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 MiB
0%
57.1 µs
57.1 µs
1
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::1
0%
92 µs
92.1 µs
4.00 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 KiB
0%
57.1 µs
57.1 µs
16x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x16.0 MiB
0%
238.1 µs
238.3 µs
256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::256 KiB
0%
192.2 µs
192.5 µs
4x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x256 KiB
0%
91.2 µs
91.4 µs
8
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::8
0%
92.1 µs
92.3 µs
2x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x16.0 MiB
0%
66.8 µs
66.9 µs
2x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 MiB
0%
66.7 µs
66.9 µs
4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::4.00 KiB
0%
62.2 µs
62.4 µs
8x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 MiB
0%
140.3 µs
140.7 µs
256 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::256 KiB
0%
56.8 µs
57 µs
1x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x256 KiB
0%
54.7 µs
54.9 µs
4x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 MiB
0%
90.9 µs
91.2 µs
4
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::4
0%
91.9 µs
92.3 µs
1x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x16.0 MiB
0%
54.4 µs
54.6 µs
16x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 MiB
0%
236.4 µs
237.3 µs
2x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x256 KiB
0%
66.7 µs
67 µs
16.0 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::16.0 MiB
0%
57.1 µs
57.4 µs
8x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x256 KiB
0%
139.3 µs
140 µs
4x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 KiB
-1%
90.1 µs
90.6 µs
1x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 MiB
-1%
54.3 µs
54.7 µs
8x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x16.0 MiB
-1%
140.2 µs
141.1 µs
16x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 KiB
-1%
234.7 µs
236.4 µs
2x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 KiB
-1%
66.4 µs
67 µs
16x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x256 KiB
-1%
235.8 µs
238.1 µs
1x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 KiB
-1%
54.3 µs
54.8 µs
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%
523.6 ns
494.4 ns
bytes buf 256 KiB * 4 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 256 KiB * 4 advance
0%
464.2 ns
464.2 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%
523.6 ns
494.4 ns
bytes buf 4.00 MiB * 32 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 32 advance
0%
464.2 ns
464.2 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%
523.6 ns
494.4 ns
bytes buf 4.00 MiB * 4 advance
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer::bench_non_contiguous_buffer::bytes buf 4.00 MiB * 4 advance
0%
464.2 ns
464.2 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%
523.6 ns
494.4 ns
concurrent 8
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 8
+5%
369.6 µs
350.8 µs
concurrent 4
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 4
+3%
414.3 µs
403.1 µs
concurrent 16
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 16
+2%
331.7 µs
325.1 µs
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
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
0%
183.6 ns
183.6 ns
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 * 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
0%
183.6 ns
183.6 ns
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.2 µs
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
0%
212.8 ns
212.8 ns
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
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
0%
183.6 ns
183.6 ns
concurrent 1
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 1
0%
269.7 µs
269.8 µs
concurrent 2
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 2
0%
525.1 µs
525.9 µs

Commits

Click on a commit to change the comparison range
base
main
7b18680
-16%
chore: Polish the debug output of capability Signed-off-by: Xuanwo <github@xuanwo.io>
7310ef0
10 days ago
by Xuanwo
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.