Skip to content

Codeblock ref rendering #1131

Codeblock ref rendering

Codeblock ref rendering #1131

Triggered via pull request December 5, 2024 13:47
Status Success
Total duration 46m 43s
Artifacts

bench.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 2 notices
benchmark
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Benchmark results: libs/checkpoint-postgres/langgraph/store/postgres/base.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 61.9 ms +- 1.5 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 51.5 ms +- 0.6 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 92.1 ms +- 7.6 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 93.5 ms +- 0.9 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 594 ms +- 22 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 502 ms +- 5 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 925 ms +- 42 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 922 ms +- 15 ms ......................................... react_agent_10x: Mean +- std dev: 30.9 ms +- 0.7 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.4 ms +- 0.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 46.8 ms +- 0.8 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 36.5 ms +- 0.5 ms ......................................... react_agent_100x: Mean +- std dev: 344 ms +- 7 ms ......................................... react_agent_100x_sync: Mean +- std dev: 272 ms +- 3 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 932 ms +- 10 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 829 ms +- 6 ms ......................................... wide_state_25x300: Mean +- std dev: 24.2 ms +- 0.5 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.1 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 277 ms +- 3 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 264 ms +- 3 ms ......................................... wide_state_15x600: Mean +- std dev: 28.2 ms +- 0.4 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.8 ms +- 0.1 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 477 ms +- 6 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 464 ms +- 7 ms ......................................... wide_state_9x1200: Mean +- std dev: 28.2 ms +- 0.4 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.8 ms +- 0.2 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 312 ms +- 4 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 297 ms +- 3 ms
Comparison against main: libs/checkpoint-postgres/langgraph/store/postgres/base.py#L1
+------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +====================================+=========+=======================+ | fanout_to_subgraph_100x | 615 ms | 594 ms: 1.04x faster | +------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 845 ms | 829 ms: 1.02x faster | +------------------------------------+---------+-----------------------+ | wide_state_9x1200_checkpoint | 317 ms | 312 ms: 1.02x faster | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 940 ms | 925 ms: 1.02x faster | +------------------------------------+---------+-----------------------+ | wide_state_9x1200_checkpoint_sync | 301 ms | 297 ms: 1.02x faster | +------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 946 ms | 932 ms: 1.02x faster | +------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint_sync | 471 ms | 464 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint | 484 ms | 477 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_25x300_checkpoint_sync | 268 ms | 264 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_25x300_checkpoint | 281 ms | 277 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 17.9 ms | 17.8 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 36.4 ms | 36.5 ms: 1.00x slower | +------------------------------------+---------+-----------------------+ | react_agent_10x_sync | 22.3 ms | 22.4 ms: 1.00x slower | +------------------------------------+---------+-----------------------+ | wide_state_25x300_sync | 15.4 ms | 15.4 ms: 1.00x slower | +------------------------------------+---------+-----------------------+ | react_agent_10x | 30.6 ms | 30.9 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | react_agent_100x | 340 ms | 344 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | react_agent_100x_sync | 269 ms | 272 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x | 61.2 ms | 61.9 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x faster | +------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (10): wide_state_9x1200, fanout_to_subgraph_100x_checkpoint_sync, react_agent_10x_checkpoint, fanout_to_subgraph_100x_sync, wide_state_15x600_sync, fanout_to_subgraph_10x_checkpoint_sync, fanout_to_subgraph_10x_checkpoint, fanout_to_subgraph_10x_sync, wide_state_15x600, wide_state_25x300