Skip to content

Add default ns in put_writes #813

Add default ns in put_writes

Add default ns in put_writes #813

Triggered via pull request November 13, 2024 02:50
Status Success
Total duration 47m 8s
Artifacts

bench.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 2 notices
benchmark
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Benchmark results: libs/checkpoint/langgraph/checkpoint/memory/__init__.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 58.0 ms +- 1.9 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 49.3 ms +- 0.6 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 83.6 ms +- 1.6 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 91.1 ms +- 0.9 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 545 ms +- 13 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 479 ms +- 6 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 880 ms +- 42 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 899 ms +- 20 ms ......................................... react_agent_10x: Mean +- std dev: 30.2 ms +- 0.6 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.2 ms +- 0.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 46.3 ms +- 0.9 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 36.3 ms +- 0.4 ms ......................................... react_agent_100x: Mean +- std dev: 337 ms +- 6 ms ......................................... react_agent_100x_sync: Mean +- std dev: 270 ms +- 2 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 933 ms +- 11 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 834 ms +- 10 ms ......................................... wide_state_25x300: Mean +- std dev: 23.6 ms +- 0.5 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 15.2 ms +- 0.3 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 278 ms +- 3 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 266 ms +- 4 ms ......................................... wide_state_15x600: Mean +- std dev: 27.5 ms +- 0.6 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.3 ms +- 0.1 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 478 ms +- 5 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 465 ms +- 7 ms ......................................... wide_state_9x1200: Mean +- std dev: 27.5 ms +- 0.5 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.4 ms +- 0.1 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 312 ms +- 3 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 298 ms +- 4 ms
Comparison against main: libs/checkpoint/langgraph/checkpoint/memory/__init__.py#L1
+------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +====================================+=========+=======================+ | react_agent_100x_checkpoint | 947 ms | 933 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | react_agent_100x | 341 ms | 337 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_9x1200 | 27.7 ms | 27.5 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | react_agent_100x_sync | 272 ms | 270 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 17.4 ms | 17.3 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_9x1200_checkpoint | 313 ms | 312 ms: 1.00x faster | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_sync | 49.6 ms | 49.3 ms: 1.00x faster | +------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 837 ms | 834 ms: 1.00x faster | +------------------------------------+---------+-----------------------+ | react_agent_10x_sync | 22.2 ms | 22.2 ms: 1.00x slower | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint | 83.1 ms | 83.6 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 36.0 ms | 36.3 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 535 ms | 545 ms: 1.02x slower | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 858 ms | 880 ms: 1.03x slower | +------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x slower | +------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (15): wide_state_25x300, wide_state_9x1200_checkpoint_sync, wide_state_15x600, wide_state_15x600_checkpoint, fanout_to_subgraph_10x_checkpoint_sync, wide_state_9x1200_sync, fanout_to_subgraph_100x_checkpoint_sync, wide_state_25x300_checkpoint_sync, fanout_to_subgraph_100x_sync, wide_state_25x300_checkpoint, wide_state_25x300_sync, wide_state_15x600_checkpoint_sync, fanout_to_subgraph_10x, react_agent_10x_checkpoint, react_agent_10x