Skip to content

sdk: By default raise errors in /wait endpoint #618

sdk: By default raise errors in /wait endpoint

sdk: By default raise errors in /wait endpoint #618

Triggered via pull request October 28, 2024 21:40
Status Success
Total duration 44m 47s
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/sdk-js/src/client.ts#L1
......................................... WARNING: the benchmark result may be unstable * the standard deviation (6.58 ms) is 12% of the mean (54.9 ms) Try to rerun the benchmark with more runs, values and/or loops. Run 'python -m pyperf system tune' command to reduce the system jitter. Use pyperf stats, pyperf dump and pyperf hist to analyze results. Use --quiet option to hide these warnings. fanout_to_subgraph_10x: Mean +- std dev: 54.9 ms +- 6.6 ms ......................................... fanout_to_subgraph_10x_sync: Mean +- std dev: 46.9 ms +- 3.5 ms ......................................... fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 77.2 ms +- 1.6 ms ......................................... fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 85.6 ms +- 0.8 ms ......................................... fanout_to_subgraph_100x: Mean +- std dev: 474 ms +- 9 ms ......................................... fanout_to_subgraph_100x_sync: Mean +- std dev: 430 ms +- 6 ms ......................................... fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 814 ms +- 44 ms ......................................... fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 840 ms +- 18 ms ......................................... react_agent_10x: Mean +- std dev: 29.0 ms +- 0.6 ms ......................................... react_agent_10x_sync: Mean +- std dev: 22.5 ms +- 1.8 ms ......................................... react_agent_10x_checkpoint: Mean +- std dev: 48.0 ms +- 3.5 ms ......................................... react_agent_10x_checkpoint_sync: Mean +- std dev: 37.8 ms +- 3.6 ms ......................................... react_agent_100x: Mean +- std dev: 330 ms +- 14 ms ......................................... react_agent_100x_sync: Mean +- std dev: 263 ms +- 14 ms ......................................... react_agent_100x_checkpoint: Mean +- std dev: 917 ms +- 10 ms ......................................... react_agent_100x_checkpoint_sync: Mean +- std dev: 818 ms +- 10 ms ......................................... wide_state_25x300: Mean +- std dev: 18.4 ms +- 0.4 ms ......................................... wide_state_25x300_sync: Mean +- std dev: 10.9 ms +- 0.2 ms ......................................... wide_state_25x300_checkpoint: Mean +- std dev: 272 ms +- 3 ms ......................................... wide_state_25x300_checkpoint_sync: Mean +- std dev: 262 ms +- 5 ms ......................................... wide_state_15x600: Mean +- std dev: 21.3 ms +- 0.5 ms ......................................... wide_state_15x600_sync: Mean +- std dev: 12.5 ms +- 0.1 ms ......................................... wide_state_15x600_checkpoint: Mean +- std dev: 472 ms +- 7 ms ......................................... wide_state_15x600_checkpoint_sync: Mean +- std dev: 470 ms +- 14 ms ......................................... wide_state_9x1200: Mean +- std dev: 21.3 ms +- 0.4 ms ......................................... wide_state_9x1200_sync: Mean +- std dev: 12.5 ms +- 0.1 ms ......................................... wide_state_9x1200_checkpoint: Mean +- std dev: 307 ms +- 6 ms ......................................... wide_state_9x1200_checkpoint_sync: Mean +- std dev: 302 ms +- 13 ms
Comparison against main: libs/sdk-js/src/client.ts#L1
+-----------------------------------------+---------+-----------------------+ | Benchmark | main | changes | +=========================================+=========+=======================+ | fanout_to_subgraph_100x | 491 ms | 474 ms: 1.04x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint | 835 ms | 814 ms: 1.03x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_100x_checkpoint_sync | 836 ms | 818 ms: 1.02x faster | +-----------------------------------------+---------+-----------------------+ | react_agent_100x | 335 ms | 330 ms: 1.02x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_25x300 | 18.5 ms | 18.4 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600_sync | 12.6 ms | 12.5 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_100x_checkpoint_sync | 847 ms | 840 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x_checkpoint_sync | 86.1 ms | 85.6 ms: 1.01x faster | +-----------------------------------------+---------+-----------------------+ | wide_state_15x600_checkpoint | 474 ms | 472 ms: 1.00x faster | +-----------------------------------------+---------+-----------------------+ | fanout_to_subgraph_10x | 48.5 ms | 54.9 ms: 1.13x slower | +-----------------------------------------+---------+-----------------------+ | Geometric mean | (ref) | 1.00x faster | +-----------------------------------------+---------+-----------------------+ Benchmark hidden because not significant (18): wide_state_9x1200_checkpoint_sync, react_agent_10x_checkpoint_sync, react_agent_100x_sync, wide_state_15x600, wide_state_25x300_checkpoint, wide_state_9x1200, react_agent_100x_checkpoint, react_agent_10x_sync, wide_state_9x1200_checkpoint, wide_state_9x1200_sync, react_agent_10x, fanout_to_subgraph_10x_checkpoint, react_agent_10x_checkpoint, wide_state_25x300_sync, wide_state_25x300_checkpoint_sync, wide_state_15x600_checkpoint_sync, fanout_to_subgraph_100x_sync, fanout_to_subgraph_10x_sync