BlogDocs

✨ Use `bulk_write` for save operations, including referenced documents(#271)

Comparing
tiangolo:use-bulk-write
(
867bfaf
) with
master
(
a99a258
)
×3.5
IMPROVEMENTS
3
REGRESSIONS
0
UNTOUCHED
12
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Improved

test_write_small_bulk[100]
tests/integration/benchmarks/test_bench_sync.py::test_write_small_bulk[100]
×3.5
36.5 ms
10.4 ms
test_write_small_bulk[50]
tests/integration/benchmarks/test_bench_sync.py::test_write_small_bulk[50]
×3.3
18.4 ms
5.5 ms
test_write_small_bulk[10]
tests/integration/benchmarks/test_bench_sync.py::test_write_small_bulk[10]
×2.5
3.9 ms
1.6 ms

Passed

test_filter_limit_skip_by_level_small[100]
tests/integration/benchmarks/test_bench_sync.py::test_filter_limit_skip_by_level_small[100]
+5%
3 ms
2.8 ms
test_filter_limit_skip_by_level_small[50]
tests/integration/benchmarks/test_bench_sync.py::test_filter_limit_skip_by_level_small[50]
+1%
2.1 ms
2.1 ms
test_filter_by_level_small[100]
tests/integration/benchmarks/test_bench_sync.py::test_filter_by_level_small[100]
+1%
8.9 ms
8.8 ms
test_find_one_by_id[100]
tests/integration/benchmarks/test_bench_sync.py::test_find_one_by_id[100]
+1%
44.5 ms
44.1 ms
test_filter_by_level_small[50]
tests/integration/benchmarks/test_bench_sync.py::test_filter_by_level_small[50]
+1%
5.4 ms
5.4 ms
test_find_one_by_id[50]
tests/integration/benchmarks/test_bench_sync.py::test_find_one_by_id[50]
+1%
22.2 ms
22.1 ms
test_find_one_by_id[10]
tests/integration/benchmarks/test_bench_sync.py::test_find_one_by_id[10]
+1%
4.7 ms
4.6 ms
test_filter_limit_skip_by_level_small[10]
tests/integration/benchmarks/test_bench_sync.py::test_filter_limit_skip_by_level_small[10]
0%
2.1 ms
2.1 ms
test_filter_by_level_small[10]
tests/integration/benchmarks/test_bench_sync.py::test_filter_by_level_small[10]
-3%
2.8 ms
2.9 ms
test_insert_small_single[50]
tests/integration/benchmarks/test_bench_sync.py::test_insert_small_single[50]
-7%
19.3 ms
20.7 ms
test_insert_small_single[10]
tests/integration/benchmarks/test_bench_sync.py::test_insert_small_single[10]
-7%
4.1 ms
4.4 ms
test_insert_small_single[100]
tests/integration/benchmarks/test_bench_sync.py::test_insert_small_single[100]
-7%
38.3 ms
41.1 ms

Commits

Click on a commit to change the comparison range
base
master
a99a258
-10%
Merge branch 'master' into use-bulk-write
5b78241
1 year ago
by tiangolo
+260%
👷 Trigger CI
867bfaf
1 year ago
by tiangolo
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.