Avatar for the apache user
apache
opendal
BlogDocsChangelog

feat(core): Add correctness check for read with if_xxx headers

#5538Merged
Comparing
add-correct-check
(
dcffc16
) with
main
(
85c3803
)
CodSpeed Performance Gauge
+1%
Improvements
0
Regressions
0
Untouched
73
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

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
CodSpeed Performance Gauge
+8%
404.4 ns
375.3 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
CodSpeed Performance Gauge
+8%
404.4 ns
375.3 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
CodSpeed Performance Gauge
+8%
404.4 ns
375.3 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
CodSpeed Performance Gauge
+8%
404.4 ns
375.3 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
CodSpeed Performance Gauge
+7%
464.2 ns
435 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
CodSpeed Performance Gauge
+7%
464.2 ns
435 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
CodSpeed Performance Gauge
+7%
464.2 ns
435 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
CodSpeed Performance Gauge
+7%
464.2 ns
435 ns
concurrent 8
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 8
CodSpeed Performance Gauge
+2%
351.2 µs
344.2 µs
16.0 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::16.0 MiB
CodSpeed Performance Gauge
0%
60.5 µs
60.3 µs
256 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::256 KiB
CodSpeed Performance Gauge
0%
60 µs
59.9 µ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
CodSpeed Performance Gauge
0%
174.1 µs
174.1 µ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
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
16x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x256 KiB
CodSpeed Performance Gauge
0%
250.7 µs
250.7 µ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
CodSpeed Performance Gauge
0%
17.4 ms
17.4 ms
16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::16.0 MiB
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
0%
631.4 ns
631.4 ns
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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 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
CodSpeed Performance Gauge
0%
631.4 ns
631.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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 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
CodSpeed Performance Gauge
0%
631.4 ns
631.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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 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
CodSpeed Performance Gauge
0%
631.4 ns
631.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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
0%
494.4 ns
494.4 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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
0%
494.4 ns
494.4 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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
0%
494.4 ns
494.4 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
CodSpeed Performance Gauge
N/A
0 s
0 s
concurrent 16
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 16
CodSpeed Performance Gauge
+2%
314.7 µs
308.1 µs
concurrent 2
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 2
CodSpeed Performance Gauge
+1%
527.9 µs
525.3 µ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
CodSpeed Performance Gauge
0%
17.8 µs
17.8 µ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
CodSpeed Performance Gauge
0%
494.4 ns
494.4 ns
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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 ns
256 KiB * 1000k truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1000k truncate
CodSpeed Performance Gauge
0%
216.7 ns
216.7 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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 ns
256 KiB * 100k truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 100k truncate
CodSpeed Performance Gauge
0%
216.7 ns
216.7 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
CodSpeed Performance Gauge
0%
125.3 ns
125.3 ns
256 KiB * 10k truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 10k truncate
CodSpeed Performance Gauge
0%
216.7 ns
216.7 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
CodSpeed Performance Gauge
0%
154.4 ns
154.4 ns
256 KiB * 1k truncate
core/benches/types/main.rs::benches::buffer::bench_non_contiguous_buffer_with_extreme::bench_non_contiguous_buffer_with_extreme::256 KiB * 1k truncate
CodSpeed Performance Gauge
0%
216.7 ns
216.7 ns
4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::4.00 MiB
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
8
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::8
CodSpeed Performance Gauge
0%
94.5 µs
94.6 µs
16x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x16.0 MiB
CodSpeed Performance Gauge
0%
254.2 µs
254.3 µs
16x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 KiB
CodSpeed Performance Gauge
0%
249.6 µs
249.9 µs
4x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 MiB
CodSpeed Performance Gauge
0%
96.1 µs
96.2 µs
16x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 MiB
CodSpeed Performance Gauge
0%
254.4 µs
254.6 µs
4
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::4
CodSpeed Performance Gauge
0%
94.4 µs
94.5 µs
4.00 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 KiB
CodSpeed Performance Gauge
0%
59.9 µs
60 µs
4.00 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 MiB
CodSpeed Performance Gauge
0%
60.4 µs
60.4 µs
256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::256 KiB
CodSpeed Performance Gauge
0%
194.4 µs
194.6 µs
4x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 KiB
CodSpeed Performance Gauge
0%
95.1 µs
95.2 µs
2
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::2
CodSpeed Performance Gauge
0%
94.2 µs
94.4 µs
4x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x256 KiB
CodSpeed Performance Gauge
0%
96.2 µs
96.4 µs
8x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x256 KiB
CodSpeed Performance Gauge
0%
146.9 µs
147.3 µs
4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::4.00 KiB
CodSpeed Performance Gauge
0%
64.3 µs
64.5 µs
1x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x256 KiB
CodSpeed Performance Gauge
0%
57.8 µs
58 µs
1x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 MiB
CodSpeed Performance Gauge
0%
57.3 µs
57.5 µs
8x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 KiB
CodSpeed Performance Gauge
0%
145 µs
145.5 µs
8x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 MiB
CodSpeed Performance Gauge
0%
146.7 µs
147.1 µs
2x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x16.0 MiB
CodSpeed Performance Gauge
0%
70.9 µs
71.1 µs
2x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x256 KiB
CodSpeed Performance Gauge
0%
71.2 µs
71.5 µs
2x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 MiB
CodSpeed Performance Gauge
0%
70.8 µs
71 µs
4x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x16.0 MiB
CodSpeed Performance Gauge
0%
95.7 µs
96 µs
2x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 KiB
CodSpeed Performance Gauge
0%
70.2 µs
70.5 µs
8x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x16.0 MiB
CodSpeed Performance Gauge
0%
147 µs
147.6 µs
1x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 KiB
CodSpeed Performance Gauge
0%
57.5 µs
57.8 µs
1x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x16.0 MiB
CodSpeed Performance Gauge
0%
57.4 µs
57.7 µs
1
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::1
CodSpeed Performance Gauge
-1%
94.3 µs
94.9 µs
concurrent 4
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 4
CodSpeed Performance Gauge
-1%
404 µs
409.4 µs
concurrent 1
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 1
CodSpeed Performance Gauge
-2%
282.8 µs
287.5 µs

Commits

Click on a commit to change the comparison range
Base
main
85c3803
+1%
feat(core): Add correctness check for read with if_xxx headers Signed-off-by: Xuanwo <github@xuanwo.io>
d4e1dce
17 days ago
by Xuanwo
0%
Fix test Signed-off-by: Xuanwo <github@xuanwo.io>
dcffc16
17 days ago
by Xuanwo
Home Terms PrivacyDocs