fix(sdk-js): rename Command["send"] to goto
#1133
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-js/src/types.ts#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 62.2 ms +- 2.0 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 52.3 ms +- 0.8 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 94.7 ms +- 9.2 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 95.7 ms +- 2.0 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 633 ms +- 31 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 507 ms +- 6 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 956 ms +- 43 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 937 ms +- 18 ms
.........................................
react_agent_10x: Mean +- std dev: 31.1 ms +- 0.7 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.5 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 47.3 ms +- 0.8 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 37.2 ms +- 0.6 ms
.........................................
react_agent_100x: Mean +- std dev: 341 ms +- 6 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 271 ms +- 6 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 922 ms +- 7 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 821 ms +- 5 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.0 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.3 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 277 ms +- 7 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 264 ms +- 3 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.0 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.7 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 476 ms +- 4 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 463 ms +- 8 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.0 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.7 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 310 ms +- 4 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 296 ms +- 3 ms
|
Comparison against main:
libs/sdk-js/src/types.ts#L1
+----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+========================================+=========+=======================+
| fanout_to_subgraph_100x_checkpoint | 995 ms | 956 ms: 1.04x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 946 ms | 922 ms: 1.03x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 840 ms | 821 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 266 ms | 264 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 15.4 ms | 15.3 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 28.2 ms | 28.0 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint | 480 ms | 476 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint | 312 ms | 310 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint | 279 ms | 277 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 28.2 ms | 28.0 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_checkpoint_sync | 298 ms | 296 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.8 ms | 17.7 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 24.1 ms | 24.0 ms: 1.00x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.8 ms | 17.7 ms: 1.00x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 94.9 ms | 95.7 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 36.8 ms | 37.2 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x faster |
+----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (12): wide_state_15x600_checkpoint_sync, react_agent_100x, fanout_to_subgraph_100x, fanout_to_subgraph_10x, fanout_to_subgraph_100x_checkpoint_sync, react_agent_10x_checkpoint, react_agent_100x_sync, react_agent_10x_sync, react_agent_10x, fanout_to_subgraph_100x_sync, fanout_to_subgraph_10x_sync, fanout_to_subgraph_10x_checkpoint
|