Skip to content

[SDK] Add studio user object #1287

[SDK] Add studio user object

[SDK] Add studio user object #1287

Triggered via pull request December 18, 2024 19:28
Status Success
Total duration 47m 18s
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: 61.3 ms +- 1.3 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 52.4 ms +- 0.6 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 74.8 ms +- 1.4 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 95.9 ms +- 2.0 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 656 ms +- 34 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 516 ms +- 11 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 805 ms +- 37 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 950 ms +- 19 ms ......................................... react_agent_10x: Mean +- std dev: 30.8 ms +- 0.6 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.9 ms +- 0.2 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 38.2 ms +- 0.8 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 37.1 ms +- 0.5 ms ......................................... react_agent_100x: Mean +- std dev: 340 ms +- 8 ms ......................................... react_agent_100x_sync: Mean +- std dev: 275 ms +- 2 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 853 ms +- 11 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 849 ms +- 10 ms ......................................... wide_state_25x300: Mean +- std dev: 22.9 ms +- 0.5 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 14.9 ms +- 0.1 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 278 ms +- 16 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 274 ms +- 15 ms ......................................... wide_state_15x600: Mean +- std dev: 26.8 ms +- 0.6 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 17.2 ms +- 0.2 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 475 ms +- 16 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 474 ms +- 15 ms ......................................... wide_state_9x1200: Mean +- std dev: 26.8 ms +- 0.6 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 17.2 ms +- 0.2 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 310 ms +- 15 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 309 ms +- 16 ms
Comparison against main: libs/sdk-py/langgraph_sdk/auth/types.py#L1
+----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +========================================+=========+=======================+ | react_agent_100x_sync | 274 ms | 275 ms: 1.00x slower | +----------------------------------------+---------+-----------------------+ | react_agent_10x_sync | 22.8 ms | 22.9 ms: 1.00x slower | +----------------------------------------+---------+-----------------------+ | 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 | +----------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 17.1 ms | 17.2 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200 | 26.5 ms | 26.8 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint_sync | 36.8 ms | 37.1 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x | 60.7 ms | 61.3 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_sync | 51.9 ms | 52.4 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint | 470 ms | 475 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 94.7 ms | 95.9 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_25x300_sync | 14.7 ms | 14.9 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint_sync | 468 ms | 474 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | react_agent_10x_checkpoint | 37.7 ms | 38.2 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint | 73.8 ms | 74.8 ms: 1.01x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_sync | 508 ms | 516 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | wide_state_9x1200_checkpoint_sync | 304 ms | 309 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint | 838 ms | 853 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 831 ms | 849 ms: 1.02x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 759 ms | 805 ms: 1.06x slower | +----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x | 610 ms | 656 ms: 1.08x slower | +----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.01x slower | +----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (7): react_agent_100x, wide_state_25x300, fanout_to_subgraph_100x_checkpoint_sync, react_agent_10x, wide_state_25x300_checkpoint_sync, wide_state_9x1200_checkpoint, wide_state_25x300_checkpoint