Skip to content

Add store auth types #1365

Add store auth types

Add store auth types #1365

Triggered via pull request January 9, 2025 16:08
Status Success
Total duration 44m 58s
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/sdk-py/langgraph_sdk/auth/__init__.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 63.3 ms +- 1.6 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 55.0 ms +- 1.0 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 76.5 ms +- 1.7 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 96.8 ms +- 2.0 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 662 ms +- 39 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 535 ms +- 19 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 774 ms +- 26 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 968 ms +- 20 ms ......................................... react_agent_10x: Mean +- std dev: 31.1 ms +- 0.7 ms ......................................... react_agent_10x_sync: Mean +- std dev: 23.0 ms +- 0.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 38.3 ms +- 0.8 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 36.7 ms +- 0.7 ms ......................................... react_agent_100x: Mean +- std dev: 343 ms +- 7 ms ......................................... react_agent_100x_sync: Mean +- std dev: 272 ms +- 3 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 638 ms +- 10 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 619 ms +- 10 ms ......................................... wide_state_25x300: Mean +- std dev: 23.5 ms +- 0.6 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.2 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 250 ms +- 14 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 245 ms +- 13 ms ......................................... wide_state_15x600: Mean +- std dev: 27.5 ms +- 0.6 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.8 ms +- 0.1 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 430 ms +- 14 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 426 ms +- 14 ms ......................................... wide_state_9x1200: Mean +- std dev: 27.4 ms +- 0.5 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.9 ms +- 0.3 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 284 ms +- 15 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 282 ms +- 17 ms
Comparison against main: libs/sdk-py/langgraph_sdk/auth/__init__.py#L1
+-----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +=========================================+=========+=======================+ | fanout_to_subgraph_100x_checkpoint | 819 ms | 774 ms: 1.06x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 657 ms | 638 ms: 1.03x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 637 ms | 619 ms: 1.03x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint_sync | 980 ms | 968 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 37.2 ms | 36.7 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_sync | 275 ms | 272 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 17.9 ms | 17.8 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 17.8 ms | 17.9 ms: 1.00x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint | 75.7 ms | 76.5 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x | 62.6 ms | 63.3 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_sync | 528 ms | 535 ms: 1.01x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_sync | 54.0 ms | 55.0 ms: 1.02x slower | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 648 ms | 662 ms: 1.02x slower | +-----------------------------------------+---------+-----------------------+ | wide_state_9x1200_checkpoint_sync | 276 ms | 282 ms: 1.02x slower | +-----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x faster | +-----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (14): react_agent_10x_checkpoint, wide_state_9x1200, wide_state_15x600_checkpoint_sync, wide_state_25x300_checkpoint_sync, wide_state_25x300, wide_state_15x600_checkpoint, react_agent_10x_sync, wide_state_25x300_sync, react_agent_100x, react_agent_10x, wide_state_25x300_checkpoint, fanout_to_subgraph_10x_checkpoint_sync, wide_state_15x600, wide_state_9x1200_checkpoint