docs: add Command docs #1116
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:
docs/docs/concepts/low_level.md#L1
.........................................
fanout_to_subgraph_10x: Mean +- std dev: 66.6 ms +- 2.2 ms
.........................................
fanout_to_subgraph_10x_sync: Mean +- std dev: 56.4 ms +- 1.7 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (14.2 ms) is 13% of the mean (106 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: 106 ms +- 14 ms
.........................................
fanout_to_subgraph_10x_checkpoint_sync: Mean +- std dev: 102 ms +- 5 ms
.........................................
fanout_to_subgraph_100x: Mean +- std dev: 774 ms +- 43 ms
.........................................
fanout_to_subgraph_100x_sync: Mean +- std dev: 595 ms +- 29 ms
.........................................
fanout_to_subgraph_100x_checkpoint: Mean +- std dev: 1.21 sec +- 0.04 sec
.........................................
fanout_to_subgraph_100x_checkpoint_sync: Mean +- std dev: 1.02 sec +- 0.04 sec
.........................................
react_agent_10x: Mean +- std dev: 33.8 ms +- 0.9 ms
.........................................
react_agent_10x_sync: Mean +- std dev: 25.0 ms +- 0.7 ms
.........................................
react_agent_10x_checkpoint: Mean +- std dev: 52.7 ms +- 1.4 ms
.........................................
react_agent_10x_checkpoint_sync: Mean +- std dev: 41.4 ms +- 1.9 ms
.........................................
react_agent_100x: Mean +- std dev: 426 ms +- 43 ms
.........................................
WARNING: the benchmark result may be unstable
* the standard deviation (36.4 ms) is 10% of the mean (351 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.
react_agent_100x_sync: Mean +- std dev: 351 ms +- 36 ms
.........................................
react_agent_100x_checkpoint: Mean +- std dev: 1.22 sec +- 0.06 sec
.........................................
react_agent_100x_checkpoint_sync: Mean +- std dev: 1.09 sec +- 0.06 sec
.........................................
wide_state_25x300: Mean +- std dev: 28.3 ms +- 2.4 ms
.........................................
wide_state_25x300_sync: Mean +- std dev: 18.4 ms +- 1.2 ms
.........................................
wide_state_25x300_checkpoint: Mean +- std dev: 307 ms +- 13 ms
.........................................
wide_state_25x300_checkpoint_sync: Mean +- std dev: 292 ms +- 12 ms
.........................................
wide_state_15x600: Mean +- std dev: 31.3 ms +- 1.7 ms
.........................................
wide_state_15x600_sync: Mean +- std dev: 19.7 ms +- 1.1 ms
.........................................
wide_state_15x600_checkpoint: Mean +- std dev: 517 ms +- 13 ms
.........................................
wide_state_15x600_checkpoint_sync: Mean +- std dev: 494 ms +- 13 ms
.........................................
wide_state_9x1200: Mean +- std dev: 33.0 ms +- 2.4 ms
.........................................
wide_state_9x1200_sync: Mean +- std dev: 21.3 ms +- 1.6 ms
.........................................
wide_state_9x1200_checkpoint: Mean +- std dev: 340 ms +- 10 ms
.........................................
wide_state_9x1200_checkpoint_sync: Mean +- std dev: 322 ms +- 9 ms
|
Comparison against main:
docs/docs/concepts/low_level.md#L1
+-----------------------------------------+---------+------------------------+
| Benchmark | main | changes |
+=========================================+=========+========================+
| wide_state_15x600_checkpoint_sync | 464 ms | 494 ms: 1.06x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200_checkpoint_sync | 298 ms | 322 ms: 1.08x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600_checkpoint | 478 ms | 517 ms: 1.08x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x | 61.4 ms | 66.6 ms: 1.08x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200_checkpoint | 312 ms | 340 ms: 1.09x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x_checkpoint_sync | 93.8 ms | 102 ms: 1.09x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x_sync | 51.6 ms | 56.4 ms: 1.09x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300_checkpoint | 280 ms | 307 ms: 1.10x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300_checkpoint_sync | 267 ms | 292 ms: 1.10x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x | 30.6 ms | 33.8 ms: 1.11x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_100x_checkpoint_sync | 920 ms | 1.02 sec: 1.11x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600_sync | 17.8 ms | 19.7 ms: 1.11x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_15x600 | 28.1 ms | 31.3 ms: 1.11x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x_sync | 22.3 ms | 25.0 ms: 1.12x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x_checkpoint | 46.7 ms | 52.7 ms: 1.13x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_10x_checkpoint_sync | 36.3 ms | 41.4 ms: 1.14x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_10x_checkpoint | 91.5 ms | 106 ms: 1.16x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200 | 28.1 ms | 33.0 ms: 1.17x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300 | 24.0 ms | 28.3 ms: 1.18x slower |
+-----------------------------------------+---------+------------------------+
| fanout_to_subgraph_100x_sync | 501 ms | 595 ms: 1.19x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_25x300_sync | 15.4 ms | 18.4 ms: 1.19x slower |
+-----------------------------------------+---------+------------------------+
| wide_state_9x1200_sync | 17.7 ms | 21.3 ms: 1.20x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_100x | 341 ms | 426 ms: 1.25x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_100x_sync | 271 ms | 351 ms: 1.30x slower |
+-----------------------------------------+---------+------------------------+
| react_agent_100x_checkpoint | 928 ms | 1.22 sec: 1.3
|