perf: In PregelLoop, only emit stream values requested by caller #85
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/
|
libs/langgraph/langgraph/pregel/__init__.py#L1
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (7.17 ms) is 12% of the mean (62.2 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: Mean +- std dev: 62.2 ms +- 7.2 ms
.........................................
fanout_to_subgraph_10x_checkpoint: Mean +- std dev: 76.6 ms +- 1.4 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 573 ms +- 22 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 793 ms +- 23 ms
.........................................
react_agent_10x: Mean +- std dev: 39.3 ms +- 0.9 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 53.1 ms +- 1.5 ms
.........................................
react_agent_100x: Mean +- std dev: 409 ms +- 8 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 983 ms +- 17 ms
.........................................
wide_state_25x300: Mean +- std dev: 20.6 ms +- 0.4 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 245 ms +- 8 ms
.........................................
wide_state_15x600: Mean +- std dev: 23.7 ms +- 0.4 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 418 ms +- 11 ms
.........................................
wide_state_9x1200: Mean +- std dev: 23.7 ms +- 0.3 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 272 ms +- 9 ms
|
libs/langgraph/langgraph/pregel/__init__.py#L1
+------------------------------------+----------+-----------------------+
| Benchmark | main | changes |
+====================================+==========+=======================+
| react_agent_100x_checkpoint | 2.56 sec | 983 ms: 2.61x faster |
+------------------------------------+----------+-----------------------+
| wide_state_15x600_checkpoint | 1.04 sec | 418 ms: 2.48x faster |
+------------------------------------+----------+-----------------------+
| wide_state_9x1200_checkpoint | 657 ms | 272 ms: 2.42x faster |
+------------------------------------+----------+-----------------------+
| wide_state_25x300_checkpoint | 573 ms | 245 ms: 2.34x faster |
+------------------------------------+----------+-----------------------+
| react_agent_10x_checkpoint | 74.5 ms | 53.1 ms: 1.40x faster |
+------------------------------------+----------+-----------------------+
| fanout_to_subgraph_10x_checkpoint | 90.6 ms | 76.6 ms: 1.18x faster |
+------------------------------------+----------+-----------------------+
| fanout_to_subgraph_100x_checkpoint | 912 ms | 793 ms: 1.15x faster |
+------------------------------------+----------+-----------------------+
| wide_state_15x600 | 24.5 ms | 23.7 ms: 1.03x faster |
+------------------------------------+----------+-----------------------+
| wide_state_9x1200 | 24.5 ms | 23.7 ms: 1.03x faster |
+------------------------------------+----------+-----------------------+
| wide_state_25x300 | 21.1 ms | 20.6 ms: 1.03x faster |
+------------------------------------+----------+-----------------------+
| Geometric mean | (ref) | 1.36x faster |
+------------------------------------+----------+-----------------------+
Benchmark hidden because not significant (4): fanout_to_subgraph_10x, fanout_to_subgraph_100x, react_agent_100x, react_agent_10x
|
The logs for this run have expired and are no longer available.
Loading