langgraph: use input schema from conditional edge #927
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/graph/state.py#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 60.9 ms +- 2.5 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 53.4 ms +- 1.0 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (13.0 ms) is 13% of the mean (98.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_checkpoint: Mean +- std dev: 98.1 ms +- 13.0 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 98.1 ms +- 1.3 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 674 ms +- 40 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 518 ms +- 10 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 1.04 sec +- 0.06 sec
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 959 ms +- 26 ms
.........................................
react_agent_10x: Mean +- std dev: 31.7 ms +- 1.0 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 23.5 ms +- 0.5 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 49.2 ms +- 1.5 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 38.4 ms +- 1.2 ms
.........................................
react_agent_100x: Mean +- std dev: 358 ms +- 10 ms
.........................................
react_agent_100x_sync: Mean +- std dev: 295 ms +- 14 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 1.04 sec +- 0.03 sec
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 910 ms +- 20 ms
.........................................
wide_state_25x300: Mean +- std dev: 24.6 ms +- 0.5 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 15.9 ms +- 0.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 288 ms +- 4 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 271 ms +- 3 ms
.........................................
wide_state_15x600: Mean +- std dev: 28.8 ms +- 0.6 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 18.3 ms +- 0.4 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 492 ms +- 8 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 473 ms +- 7 ms
.........................................
wide_state_9x1200: Mean +- std dev: 28.9 ms +- 0.6 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 18.3 ms +- 0.2 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 321 ms +- 5 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 305 ms +- 5 ms
|
Annotation:
libs/langgraph/langgraph/graph/state.py#L1
+-----------------------------------------+----------+------------------------+
| Benchmark | main | changes |
+=========================================+==========+========================+
| wide_state_25x300 | 24.3 ms | 24.6 ms: 1.01x slower |
+-----------------------------------------+----------+------------------------+
| fanout_to_subgraph_100x_sync | 510 ms | 518 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_15x600_checkpoint_sync | 465 ms | 473 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_9x1200_checkpoint_sync | 299 ms | 305 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_15x600 | 28.2 ms | 28.8 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_9x1200_checkpoint | 315 ms | 321 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_25x300_checkpoint_sync | 266 ms | 271 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_9x1200 | 28.3 ms | 28.9 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_9x1200_sync | 17.9 ms | 18.3 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_15x600_sync | 17.9 ms | 18.3 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_15x600_checkpoint | 481 ms | 492 ms: 1.02x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_25x300_sync | 15.5 ms | 15.9 ms: 1.03x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_10x | 30.8 ms | 31.7 ms: 1.03x slower |
+-----------------------------------------+----------+------------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 928 ms | 959 ms: 1.03x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_100x | 346 ms | 358 ms: 1.03x slower |
+-----------------------------------------+----------+------------------------+
| wide_state_25x300_checkpoint | 279 ms | 288 ms: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| fanout_to_subgraph_10x_sync | 51.6 ms | 53.4 ms: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_100x_checkpoint | 1.01 sec | 1.04 sec: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_100x_sync | 284 ms | 295 ms: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 94.3 ms | 98.1 ms: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_10x_sync | 22.5 ms | 23.5 ms: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_10x_checkpoint_sync | 36.8 ms | 38.4 ms: 1.04x slower |
+-----------------------------------------+----------+------------------------+
| react_agent_10x_checkpoint | 46.9 ms | 49.2 ms: 1.05x slower |
+-----------------------------------------+----------+------------------------+
| fanout_to_subgraph_100x_checkpoint | 984 ms | 1.04 sec: 1.05x slower |
+-----------------------------------------+----------+------------------------+
| fanout_to_subg
|
Loading