[CLI] Inject langgraph.json's store config in docker #1024
Annotations
2 notices
Benchmark results:
libs/cli/langgraph_cli/cli.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 60.8 ms +- 1.8 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 52.2 ms +- 0.8 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 94.5 ms +- 9.4 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 96.1 ms +- 1.4 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 656 ms +- 33 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 509 ms +- 5 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 953 ms +- 38 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 936 ms +- 19 ms
.........................................
react_agent_10x: Mean +- std dev: 30.7 ms +- 0.6 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 22.4 ms +- 0.3 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 46.3 ms +- 0.8 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 36.4 ms +- 0.6 ms
.........................................
react_agent_100x: Mean +- std dev: 341 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 270 ms +- 4 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 940 ms +- 13 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 834 ms +- 10 ms
.........................................
wide_state_25x300: Mean +- std dev: 23.9 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.4 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 280 ms +- 3 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 272 ms +- 7 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.5 ms +- 1.3 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 17.7 ms +- 0.2 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 482 ms +- 6 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 472 ms +- 8 ms
.........................................
wide_state_9x1200: Mean +- std dev: 27.9 ms +- 0.5 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 17.7 ms +- 0.1 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 315 ms +- 3 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 298 ms +- 4 ms
|
Comparison against main:
libs/cli/langgraph_cli/cli.py#L1
+----------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+========================================+=========+=======================+
| react_agent_100x_checkpoint_sync | 856 ms | 834 ms: 1.03x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 957 ms | 940 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint | 47.1 ms | 46.3 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 968 ms | 953 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x | 61.8 ms | 60.8 ms: 1.02x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300 | 24.2 ms | 23.9 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 36.9 ms | 36.4 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 28.3 ms | 27.9 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 17.9 ms | 17.7 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x | 31.0 ms | 30.7 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 17.9 ms | 17.7 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 272 ms | 270 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 22.5 ms | 22.4 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 15.5 ms | 15.4 ms: 1.01x faster |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_sync | 504 ms | 509 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600 | 28.2 ms | 28.5 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 95.1 ms | 96.1 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 465 ms | 472 ms: 1.01x slower |
+----------------------------------------+---------+-----------------------+
| wide_state_25x300_checkpoint_sync | 267 ms | 272 ms: 1.02x slower |
+----------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 622 ms | 656 ms: 1.05x slower |
+----------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.00x faster |
+----------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (8): fanout_to_subgraph_100x_checkpoint_sync, react_agent_100x, wide_state_25x300_checkpoint, wide_state_15x600_checkpoint, wide_state_9x1200_checkpoint, wide_state_9x1200_checkpoint_sync, fanout_to_subgraph_10x_sync, fanout_to_subgraph_10x_checkpoint
|