Commit 3db96b6
committed
Add env var to shut down kernel immediately after start for benchmarking
Setting IPYKERNEL_BENCHMARK_STARTUP_SHUTDOWN stops the event loop right
after it starts, so total process wall-clock time measures kernel
startup without needing an actual client to send a shutdown request.
This can be used in conjunction with -X importtime and profile viewer
like tuna to work on speeding up importing and starting a kernel1 parent 342cf58 commit 3db96b6
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
758 | 762 | | |
759 | 763 | | |
760 | 764 | | |
| |||
0 commit comments