Add return_direct support #149
Annotations
1 warning and 2 notices
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/
|
Annotation:
libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 59.8 ms +- 1.2 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (7.35 ms) is 13% of the mean (57.8 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: 57.8 ms +- 7.4 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 77.8 ms +- 1.4 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 82.0 ms +- 0.6 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 555 ms +- 9 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 505 ms +- 4 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 768 ms +- 25 ms
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 792 ms +- 6 ms
.........................................
react_agent_10x: Mean +- std dev: 39.3 ms +- 0.8 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 29.7 ms +- 0.2 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 53.0 ms +- 1.3 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 43.2 ms +- 3.4 ms
.........................................
react_agent_100x: Mean +- std dev: 415 ms +- 7 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 344 ms +- 13 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 933 ms +- 9 ms
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 832 ms +- 11 ms
.........................................
wide_state_25x300: Mean +- std dev: 20.7 ms +- 0.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 12.8 ms +- 0.1 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 241 ms +- 9 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 230 ms +- 7 ms
.........................................
wide_state_15x600: Mean +- std dev: 24.0 ms +- 0.4 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 14.7 ms +- 0.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 418 ms +- 11 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 412 ms +- 13 ms
.........................................
wide_state_9x1200: Mean +- std dev: 23.9 ms +- 0.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 14.8 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 268 ms +- 8 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 260 ms +- 8 ms
|
Annotation:
libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L1
+------------------------------------+---------+-----------------------+
| Benchmark | main | changes |
+====================================+=========+=======================+
| react_agent_10x_checkpoint | 56.6 ms | 53.0 ms: 1.07x faster |
+------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint_sync | 881 ms | 832 ms: 1.06x faster |
+------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 802 ms | 768 ms: 1.04x faster |
+------------------------------------+---------+-----------------------+
| react_agent_10x_checkpoint_sync | 44.7 ms | 43.2 ms: 1.04x faster |
+------------------------------------+---------+-----------------------+
| fanout_to_subgraph_100x | 572 ms | 555 ms: 1.03x faster |
+------------------------------------+---------+-----------------------+
| react_agent_10x_sync | 30.6 ms | 29.7 ms: 1.03x faster |
+------------------------------------+---------+-----------------------+
| wide_state_25x300 | 21.2 ms | 20.7 ms: 1.03x faster |
+------------------------------------+---------+-----------------------+
| react_agent_100x_checkpoint | 959 ms | 933 ms: 1.03x faster |
+------------------------------------+---------+-----------------------+
| react_agent_100x | 425 ms | 415 ms: 1.02x faster |
+------------------------------------+---------+-----------------------+
| wide_state_25x300_sync | 13.1 ms | 12.8 ms: 1.02x faster |
+------------------------------------+---------+-----------------------+
| react_agent_10x | 39.9 ms | 39.3 ms: 1.02x faster |
+------------------------------------+---------+-----------------------+
| react_agent_100x_sync | 350 ms | 344 ms: 1.02x faster |
+------------------------------------+---------+-----------------------+
| wide_state_15x600_sync | 14.9 ms | 14.7 ms: 1.01x faster |
+------------------------------------+---------+-----------------------+
| wide_state_9x1200_sync | 14.9 ms | 14.8 ms: 1.01x faster |
+------------------------------------+---------+-----------------------+
| wide_state_9x1200 | 24.0 ms | 23.9 ms: 1.01x faster |
+------------------------------------+---------+-----------------------+
| wide_state_15x600_checkpoint_sync | 408 ms | 412 ms: 1.01x slower |
+------------------------------------+---------+-----------------------+
| Geometric mean | (ref) | 1.02x faster |
+------------------------------------+---------+-----------------------+
Benchmark hidden because not significant (12): fanout_to_subgraph_10x_sync, wide_state_9x1200_checkpoint, wide_state_15x600, wide_state_25x300_checkpoint, fanout_to_subgraph_100x_checkpoint_sync, wide_state_15x600_checkpoint, fanout_to_subgraph_10x_checkpoint, fanout_to_subgraph_10x, fanout_to_subgraph_100x_sync, fanout_to_subgraph_10x_checkpoint_sync, wide_state_9x1200_checkpoint_sync, wide_state_25x300_checkpoint_sync
|
Loading