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

fix(reentrance): preserve context identity in reentrant eval

#9
Comparing
hunter/host-fn-confusion
(
5b37429
) with
main
(
c6a2110
)
CodSpeed Performance Gauge
-15%
Regression
1
Untouched
29

Benchmarks

30 total
bench_runtime_create
benchmarks/test_startup.py
CodSpeed Performance Gauge
-15%
10.5 µs12.5 µs
bench_context_create
benchmarks/test_startup.py
CodSpeed Performance Gauge
+4%
157.2 µs151 µs
bench_eval_string_concat
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
+3%
3.9 µs3.8 µs
bench_marshal_dict_nested_5
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
+2%
6.2 µs6.1 µs
bench_marshal_dict_flat_100
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
+2%
42.4 µs41.6 µs
bench_eval_async_immediate_host
benchmarks/test_eval_async.py
CodSpeed Performance Gauge
+2%
100.7 µs98.9 µs
bench_host_call_identity_dict
benchmarks/test_host_functions.py
CodSpeed Performance Gauge
+1%
4.8 µs4.7 µs
bench_marshal_int
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
+1%
3.6 µs3.6 µs
bench_host_call_async_noop
benchmarks/test_host_functions.py
CodSpeed Performance Gauge
+1%
98.1 µs97.1 µs
bench_marshal_list_10k_ints
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
+1%
807.2 µs800.5 µs
bench_eval_noop
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
+1%
2.7 µs2.7 µs
bench_eval_arithmetic
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
+1%
3.2 µs3.1 µs
bench_eval_object_create_1k
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
0%
513.6 µs511.1 µs
bench_runtime_and_context
benchmarks/test_startup.py
CodSpeed Performance Gauge
0%
121.2 µs120.7 µs
bench_eval_async_noop
benchmarks/test_eval_async.py
CodSpeed Performance Gauge
0%
63 µs62.7 µs
bench_context_create_10x
benchmarks/test_startup.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
bench_eval_regex
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
0%
32 µs32 µs
bench_host_call_identity_int
benchmarks/test_host_functions.py
CodSpeed Performance Gauge
0%
3.8 µs3.8 µs
bench_eval_async_sequential_10
benchmarks/test_eval_async.py
CodSpeed Performance Gauge
0%
286.8 µs286.5 µs
bench_eval_async_fan_out_10
benchmarks/test_eval_async.py
CodSpeed Performance Gauge
0%
206.1 µs206.5 µs
bench_eval_fibonacci_30
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
0%
106 ms106.5 ms
bench_marshal_string_1kb
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
-1%
4.3 µs4.3 µs
bench_threaded_runtime_context_isolation_tps
benchmarks/test_threaded_stress.py
CodSpeed Performance Gauge
-1%
693.7 ms697.5 ms
bench_eval_json_parse_10kb
benchmarks/test_eval_sync.py
CodSpeed Performance Gauge
-1%
225.7 µs227.2 µs
bench_marshal_bytes_1mb
benchmarks/test_marshaling.py
CodSpeed Performance Gauge
-1%
81.4 µs82.1 µs

Commits

Click on a commit to change the comparison range
Base
main
c6a2110
-15.39%
fix(reentrance): preserve context identity in reentrant eval
5b37429
4 days ago
by hntrl
© 2026 CodSpeed Technology
Home Terms Privacy Docs