Skip to content

fix: Use imported constant for namespace end #127

fix: Use imported constant for namespace end

fix: Use imported constant for namespace end #127

Triggered via pull request September 19, 2024 22:07
Status Success
Total duration 45m 7s
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/langgraph/langgraph/pregel/algo.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 58.3 ms +- 1.8 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 53.1 ms +- 3.1 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 75.1 ms +- 1.4 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 80.0 ms +- 0.6 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 535 ms +- 7 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 491 ms +- 5 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 739 ms +- 23 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 777 ms +- 6 ms ......................................... react_agent_10x: Mean +- std dev: 38.9 ms +- 0.8 ms ......................................... react_agent_10x_sync: Mean +- std dev: 29.6 ms +- 0.5 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 54.2 ms +- 3.4 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 42.3 ms +- 3.1 ms ......................................... react_agent_100x: Mean +- std dev: 421 ms +- 16 ms ......................................... react_agent_100x_sync: Mean +- std dev: 340 ms +- 13 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 916 ms +- 16 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 827 ms +- 20 ms ......................................... wide_state_25x300: Mean +- std dev: 20.1 ms +- 0.3 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 12.7 ms +- 0.4 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 237 ms +- 8 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 228 ms +- 7 ms ......................................... wide_state_15x600: Mean +- std dev: 23.2 ms +- 0.3 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 14.5 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 416 ms +- 17 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 404 ms +- 12 ms ......................................... wide_state_9x1200: Mean +- std dev: 23.2 ms +- 0.3 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 14.5 ms +- 0.1 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 264 ms +- 7 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 256 ms +- 9 ms
Comparison against main: libs/langgraph/langgraph/pregel/algo.py#L1
+-----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +=========================================+=========+=======================+ | fanout_to_subgraph_10x_sync | 55.8 ms | 53.1 ms: 1.05x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 544 ms | 535 ms: 1.02x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 14.6 ms | 14.5 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_9x1200 | 23.4 ms | 23.2 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_25x300 | 20.3 ms | 20.1 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 80.6 ms | 80.0 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600 | 23.4 ms | 23.2 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint | 75.5 ms | 75.1 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint_sync | 782 ms | 777 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 14.6 ms | 14.5 ms: 1.00x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint | 52.7 ms | 54.2 ms: 1.03x slower | +-----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x faster | +-----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (17): fanout_to_subgraph_100x_checkpoint, wide_state_9x1200_checkpoint, wide_state_25x300_checkpoint_sync, react_agent_100x_sync, react_agent_10x, fanout_to_subgraph_100x_sync, react_agent_10x_sync, fanout_to_subgraph_10x, react_agent_100x_checkpoint, react_agent_100x, wide_state_15x600_checkpoint_sync, react_agent_10x_checkpoint_sync, react_agent_100x_checkpoint_sync, wide_state_25x300_sync, wide_state_9x1200_checkpoint_sync, wide_state_15x600_checkpoint, wide_state_25x300_checkpoint