_stream.py: Make `_enqueue_plan` a timed activity

Description

This addresses part of #1261.

Benchmarking

NOTE It seems my machine was quite noisy at that moment.

  • Finished in: 88 mins, 30 secs
  • Number of builders: [4, 8, 12]
  • Target files: base-files/base-files.bst
  • Number of runs: 3
  • Number of warmups: 1
  • Python versions: py37
action python_version commit median time (secs) mean time (secs) ± std
build - 12 py37 bschubert/notify-prepare-plan - fbeb1490 175.57 175.31 ± 0.67
py37 master - 3408afbf 177.58 178.10 ± 2.16
build - 4 py37 bschubert/notify-prepare-plan - fbeb1490 176.15 175.84 ± 1.13
py37 master - 3408afbf 176 176.41 ± 0.89
build - 8 py37 bschubert/notify-prepare-plan - fbeb1490 174.11 174.19 ± 0.82
py37 master - 3408afbf 175.65 175.76 ± 0.24
show py37 bschubert/notify-prepare-plan - fbeb1490 5.49 5.53 ± 0.23
py37 master - 3408afbf 4.87 4.87 ± 0.02
show - cached py37 bschubert/notify-prepare-plan - fbeb1490 9.46 9.47 ± 0.04
py37 master - 3408afbf 9.52 9.52 ± 0.08
show - sources fetched py37 bschubert/notify-prepare-plan - fbeb1490 7.36 7.37 ± 0.07
py37 master - 3408afbf 7.18 7.12 ± 0.13
source fetch py37 bschubert/notify-prepare-plan - fbeb1490 78.45 78.43 ± 0.27
py37 master - 3408afbf 92.87 93.11 ± 1.09
action python_version commit median max memory (MB) mean max memory (MB) ± std
build - 12 py37 bschubert/notify-prepare-plan - fbeb1490 214.734 214.81 ± 0.15
py37 master - 3408afbf 217.57 217.68 ± 0.21
build - 4 py37 bschubert/notify-prepare-plan - fbeb1490 214.969 214.99 ± 0.19
py37 master - 3408afbf 217.641 217.66 ± 0.14
build - 8 py37 bschubert/notify-prepare-plan - fbeb1490 214.883 214.83 ± 0.12
py37 master - 3408afbf 217.66 217.74 ± 0.20
show py37 bschubert/notify-prepare-plan - fbeb1490 186.43 186.35 ± 0.19
py37 master - 3408afbf 189.371 189.24 ± 0.28
show - cached py37 bschubert/notify-prepare-plan - fbeb1490 213.973 213.98 ± 0.07
py37 master - 3408afbf 216.594 216.68 ± 0.15
show - sources fetched py37 bschubert/notify-prepare-plan - fbeb1490 184.758 184.70 ± 0.25
py37 master - 3408afbf 187.57 187.46 ± 0.28
source fetch py37 bschubert/notify-prepare-plan - fbeb1490 187.48 187.53 ± 0.13
py37 master - 3408afbf 190.574 190.58 ± 0.13

There were 3 runs of each command.

Edited by Benjamin Schubert

Merge request reports

Loading