feat(sdk-js): add support for subgraphs, match schema #248
Triggered via pull request
September 27, 2024 14:59
Status
Success
Total duration
46m 31s
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/.gitignore#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 60.5 ms +- 1.5 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (7.70 ms) is 13% of the mean (58.1 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: 58.1 ms +- 7.7 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 77.9 ms +- 1.3 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 82.5 ms +- 1.7 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 574 ms +- 14 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 507 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 777 ms +- 23 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 800 ms +- 8 ms
.........................................
react_agent_10x: Mean +- std dev: 42.2 ms +- 3.7 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 30.2 ms +- 0.2 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 54.0 ms +- 1.4 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 44.1 ms +- 4.0 ms
.........................................
react_agent_100x: Mean +- std dev: 418 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 335 ms +- 3 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 958 ms +- 18 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 840 ms +- 18 ms
.........................................
wide_state_25x300: Mean +- std dev: 20.9 ms +- 0.5 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 12.9 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 241 ms +- 7 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 243 ms +- 17 ms
.........................................
wide_state_15x600: Mean +- std dev: 24.2 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 15.1 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 423 ms +- 14 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 423 ms +- 20 ms
.........................................
wide_state_9x1200: Mean +- std dev: 24.2 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 15.0 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 270 ms +- 9 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 269 ms +- 16 ms
|
Comparison against main:
libs/sdk-js/.gitignore#L1
+-----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+=========================================+=========+=======================+
| wide_state_25x300_checkpoint | 239 ms | 241 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 502 ms | 507 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 418 ms | 423 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 265 ms | 269 ms: 1.01x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 14.7 ms | 15.0 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 788 ms | 800 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 329 ms | 335 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x | 411 ms | 418 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 12.7 ms | 12.9 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 59.5 ms | 60.5 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 81.1 ms | 82.5 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 29.6 ms | 30.2 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 76.4 ms | 77.9 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 53.0 ms | 54.0 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 14.7 ms | 15.1 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 822 ms | 840 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 237 ms | 243 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x | 41.2 ms | 42.2 ms: 1.02x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 43.0 ms | 44.1 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 23.5 ms | 24.2 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 23.5 ms | 24.2 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 20.4 ms | 20.9 ms: 1.03x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 750 ms | 777 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 922 ms | 958 ms: 1.04x slower |
+-----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_sync | 55.9 ms | 58.1 ms: 1.04x slower |
+---------------------------------------
|