sdk-py: add versioning for assistants #146
Triggered via pull request
September 20, 2024 17:33
Status
Success
Total duration
44m 25s
Artifacts
–
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
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 58.9 ms +- 1.1 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (6.31 ms) is 11% of the mean (56.2 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_sync: Mean +- std dev: 56.2 ms +- 6.3 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 76.4 ms +- 1.1 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 80.7 ms +- 1.6 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 546 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 500 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 744 ms +- 19 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 781 ms +- 8 ms
.........................................
react_agent_10x: Mean +- std dev: 39.0 ms +- 1.0 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 29.5 ms +- 0.2 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 52.2 ms +- 1.3 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 42.5 ms +- 3.2 ms
.........................................
react_agent_100x: Mean +- std dev: 414 ms +- 8 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 341 ms +- 13 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 923 ms +- 11 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 825 ms +- 7 ms
.........................................
wide_state_25x300: Mean +- std dev: 20.3 ms +- 0.3 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 12.6 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 240 ms +- 9 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 229 ms +- 7 ms
.........................................
wide_state_15x600: Mean +- std dev: 23.5 ms +- 0.3 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 14.6 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 420 ms +- 15 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 409 ms +- 12 ms
.........................................
wide_state_9x1200: Mean +- std dev: 23.5 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 14.7 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 267 ms +- 7 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 259 ms +- 9 ms
|
Comparison against main:
libs/sdk-js/src/client.ts#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 806 ms | 744 ms: 1.08x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 566 ms | 546 ms: 1.04x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 43.4 ms | 42.5 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 23.9 ms | 23.5 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 77.8 ms | 76.4 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 82.1 ms | 80.7 ms: 1.02x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 791 ms | 781 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x | 39.5 ms | 39.0 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 52.8 ms | 52.2 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 20.5 ms | 20.3 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 931 ms | 923 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 59.3 ms | 58.9 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 23.7 ms | 23.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 29.7 ms | 29.5 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 417 ms | 414 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 503 ms | 500 ms: 1.01x faster |
+-----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.01x faster |
+-----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (12): fanout_to_subgraph_10x_sync, react_agent_100x_sync, wide_state_9x1200_sync, wide_state_15x600_sync, wide_state_25x300_sync, wide_state_9x1200_checkpoint, wide_state_25x300_checkpoint_sync, wide_state_9x1200_checkpoint_sync, react_agent_100x_checkpoint_sync, wide_state_15x600_checkpoint_sync, wide_state_25x300_checkpoint, wide_state_15x600_checkpoint
|