BlogDocs

feat(core): Implement write if not exists for azblob,azdls,gcs,oss,cos(#5321)

Merged
Comparing
add-write-if-not-exists
(
f8152be
) with
main
(
4dc0f15
)
-19%
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
-16%
154.4 ns
183.6 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
-19%
125.3 ns
154.4 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
-19%
125.3 ns
154.4 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
-19%
125.3 ns
154.4 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

4.00 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 KiB
+2%
57 µs
56.2 µs
4.00 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::4.00 MiB
+1%
56.8 µs
56.3 µs
256 KiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::256 KiB
+1%
56.9 µs
56.3 µs
8
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::8
+1%
92.4 µs
91.6 µs
8x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 KiB
+1%
138.4 µs
137.1 µs
1
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::1
+1%
92.2 µs
91.4 µs
2
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::2
+1%
92.3 µs
91.5 µs
4
core/benches/ops/main.rs::benches::write::bench::service_memory_write_with_concurrent::4
+1%
92.2 µs
91.5 µs
16.0 MiB
core/benches/ops/main.rs::benches::write::bench::service_memory_write_once::16.0 MiB
+1%
56.8 µs
56.4 µs
4x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x16.0 MiB
+1%
91.8 µs
91.2 µs
2x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 MiB
0%
67 µs
66.8 µs
1x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x16.0 MiB
0%
54.6 µs
54.5 µs
16x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 MiB
0%
239.6 µs
239.2 µs
256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::256 KiB
0%
192.2 µs
191.9 µs
1x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 KiB
0%
54.7 µs
54.6 µs
1x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x256 KiB
0%
54.9 µs
54.9 µs
8x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x16.0 MiB
0%
140.6 µs
140.5 µs
4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_full::4.00 KiB
0%
62.2 µs
62.1 µ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
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%
689.7 ns
689.7 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%
689.7 ns
689.7 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%
689.7 ns
689.7 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%
689.7 ns
689.7 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
16x16.0 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x16.0 MiB
0%
236.4 µs
236.6 µs
1x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::1x4.00 MiB
0%
54.6 µs
54.6 µ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
2x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x256 KiB
0%
66.9 µs
67 µs
8x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x4.00 MiB
0%
140.8 µs
141 µs
2x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::2x4.00 KiB
0%
66.6 µs
66.8 µs
4x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 KiB
0%
90.5 µs
90.8 µs
16x4.00 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x4.00 KiB
-1%
234.9 µs
236.2 µs
4x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x256 KiB
-1%
91.2 µs
91.9 µs
8x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::8x256 KiB
-1%
139.5 µs
140.7 µs
16x256 KiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::16x256 KiB
-1%
236.9 µs
239 µs
4x4.00 MiB
core/benches/ops/main.rs::benches::read::bench::service_memory_read_parallel::4x4.00 MiB
-1%
91 µs
91.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
+1%
353.6 µs
351.4 µs
concurrent 2
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 2
0%
533.4 µs
532.7 µs
concurrent 16
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 16
0%
320.2 µs
320 µ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%
154.4 ns
154.4 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%
154.4 ns
154.4 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.1 µs
174.1 µ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%
183.6 ns
183.6 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%
154.4 ns
154.4 ns
concurrent 1
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 1
0%
267.9 µs
268.7 µs
concurrent 4
core/benches/types/main.rs::benches::concurrent_tasks::bench_concurrent_tasks::bench_concurrent_tasks::concurrent 4
-1%
408 µs
411.8 µs

Commits

Click on a commit to change the comparison range
base
main
4dc0f15
-16%
Add cos Signed-off-by: Xuanwo <github@xuanwo.io>
036ead0
9 days ago
by Xuanwo
-3%
Fix error handling Signed-off-by: Xuanwo <github@xuanwo.io>
f8152be
9 days ago
by Xuanwo
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.