Skip to content

[SDK] Add studio user object #1285

[SDK] Add studio user object

[SDK] Add studio user object #1285

Triggered via pull request December 18, 2024 19:16
Status Success
Total duration 46m 38s
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/types.py#L1
......................................... fanout_to_subgraph_10x: Mean +- std dev: 60.5 ms +- 1.1 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 51.8 ms +- 0.8 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 73.7 ms +- 1.4 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 94.7 ms +- 1.0 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 629 ms +- 34 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 508 ms +- 7 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 821 ms +- 30 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 948 ms +- 22 ms ......................................... react_agent_10x: Mean +- std dev: 30.5 ms +- 0.6 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.7 ms +- 0.4 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 37.8 ms +- 0.7 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 37.1 ms +- 0.6 ms ......................................... react_agent_100x: Mean +- std dev: 339 ms +- 8 ms ......................................... react_agent_100x_sync: Mean +- std dev: 273 ms +- 3 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 844 ms +- 15 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 841 ms +- 18 ms ......................................... wide_state_25x300: Mean +- std dev: 23.0 ms +- 0.6 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 14.7 ms +- 0.1 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 277 ms +- 16 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 277 ms +- 17 ms ......................................... wide_state_15x600: Mean +- std dev: 26.8 ms +- 0.5 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.2 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 476 ms +- 16 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 470 ms +- 14 ms ......................................... wide_state_9x1200: Mean +- std dev: 26.6 ms +- 0.6 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.2 ms +- 0.2 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 308 ms +- 13 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 306 ms +- 14 ms
Comparison against main: libs/sdk-py/langgraph_sdk/auth/types.py#L1
+------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +====================================+=========+=======================+ | react_agent_10x | 30.7 ms | 30.5 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | react_agent_10x_sync | 22.8 ms | 22.7 ms: 1.01x faster | +------------------------------------+---------+-----------------------+ | wide_state_9x1200_sync | 17.2 ms | 17.2 ms: 1.00x slower | +------------------------------------+---------+-----------------------+ | wide_state_15x600 | 26.7 ms | 26.8 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 838 ms | 844 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 36.8 ms | 37.1 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint | 470 ms | 476 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 831 ms | 841 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | wide_state_25x300_checkpoint_sync | 273 ms | 277 ms: 1.01x slower | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 610 ms | 629 ms: 1.03x slower | +------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 759 ms | 821 ms: 1.08x slower | +------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.01x slower | +------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (17): fanout_to_subgraph_10x, fanout_to_subgraph_10x_sync, react_agent_100x, fanout_to_subgraph_10x_checkpoint, react_agent_100x_sync, fanout_to_subgraph_10x_checkpoint_sync, fanout_to_subgraph_100x_sync, react_agent_10x_checkpoint, wide_state_25x300_sync, wide_state_9x1200_checkpoint, wide_state_15x600_sync, fanout_to_subgraph_100x_checkpoint_sync, wide_state_9x1200, wide_state_25x300, wide_state_15x600_checkpoint_sync, wide_state_9x1200_checkpoint_sync, wide_state_25x300_checkpoint