Avatar for the langchain-ai user
langchain-ai
quickjs-rs
BlogDocsChangelog

feat(snapshot): implement context snapshotting v1 pipeline

#21Merged
Comparing
hunter/snapshot
(
18f7d7f
) with
main
(
eaab304
)
CodSpeed Performance Gauge
-17%
Improvement
2
Regression
6
Untouched
25
New
12

Benchmarks

45 total
bench_threaded_runtime_context_isolation_tps
benchmarks/test_threaded_stress.py
CodSpeed Performance Gauge
-17%
810.7 ms981.1 ms
bench_eval_object_create_1k
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
-14%
556.5 µs646.2 µs
bench_marshal_int
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
-13%
3.5 µs4 µs
bench_host_call_identity_int
benchmarks/test_host_functions.py
CodSpeed Performance Gauge
-12%
3.8 µs4.3 µs
bench_marshal_string_1kb
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
-11%
4.2 µs4.8 µs
bench_host_call_noop
benchmarks/test_host_functions.py
CodSpeed Performance Gauge
-11%
3.1 µs3.5 µs
bench_marshal_bytes_1mb
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
+22%
91.2 µs74.6 µs
bench_runtime_create
benchmarks/test_startup.py
CodSpeed Performance Gauge
+20%
14.6 µs12.1 µs
bench_snapshot_create_small
benchmarks/test_snapshot.py
CodSpeed Performance Gauge
N/A
N/A94.7 µs
bench_snapshot_restore_large
benchmarks/test_snapshot.py
CodSpeed Performance Gauge
N/A
N/A499 µs
bench_snapshot_create_medium
benchmarks/test_snapshot.py
CodSpeed Performance Gauge
N/A
N/A466 µs
bench_snapshot_extraction_short_with_names
benchmarks/test_snapshot_extraction.py
CodSpeed Performance Gauge
N/A
N/A16.5 µs
bench_snapshot_restore_medium
benchmarks/test_snapshot.py
CodSpeed Performance Gauge
N/A
N/A109.6 µs
bench_snapshot_create_large
benchmarks/test_snapshot.py
CodSpeed Performance Gauge
N/A
N/A1.9 ms
bench_snapshot_extraction_medium_no_names
benchmarks/test_snapshot_extraction.py
CodSpeed Performance Gauge
N/A
N/A454 µs
bench_snapshot_restore_small
benchmarks/test_snapshot.py
CodSpeed Performance Gauge
N/A
N/A18.5 µs
bench_snapshot_extraction_medium_with_names
benchmarks/test_snapshot_extraction.py
CodSpeed Performance Gauge
N/A
N/A259.6 µs
bench_snapshot_extraction_large_no_names
benchmarks/test_snapshot_extraction.py
CodSpeed Performance Gauge
N/A
N/A10.8 ms
bench_snapshot_extraction_large_with_names
benchmarks/test_snapshot_extraction.py
CodSpeed Performance Gauge
N/A
N/A44.4 ms
bench_snapshot_extraction_short_no_names
benchmarks/test_snapshot_extraction.py
CodSpeed Performance Gauge
N/A
N/A33.9 µs
bench_marshal_dict_flat_100
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
+6%
46.6 µs43.9 µs
bench_context_create_10x
benchmarks/test_startup.py
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
bench_runtime_and_context
benchmarks/test_startup.py
CodSpeed Performance Gauge
+1%
128 µs126.8 µs
bench_mem_gc_reclaim_cycle
benchmarks/test_memory.py
CodSpeed Performance Gauge
0%
2.1 MB2.1 MB
bench_mem_runtime_context_create
benchmarks/test_memory.py
CodSpeed Performance Gauge
0%
87 KB87 KB

Commits

Click on a commit to change the comparison range
Base
main
eaab304
-18.01%
chore(snapshot): unify oxc source identity and rename snapshot tests
213b26c
18 days ago
by hntrl
+0.43%
snapshot docs
bddada3
17 days ago
by hntrl
+0.42%
docstrings
cce09af
17 days ago
by hntrl
-0.05%
add benchmarks
66ab2a5
17 days ago
by hntrl
-0.16%
cr
18f7d7f
17 days ago
by hntrl
© 2026 CodSpeed Technology
Home Terms Privacy Docs