Skip to content

Always resolve variables in elements

Benjamin Schubert requested to merge bschubert/resolve-variables into master

Description

This removes the need for plugins to handle variables in their config values.

Benchmarks

I've only benchmarked 'show' operations, since all of this is resolved in the loading step.

On bst-benchmarks (using debian)

  • Finished in: 1 mins, 16 secs
  • 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
show py37 bschubert/resolve-variables - 5b631127 4.87 4.85 ± 0.05
py37 master - b9f0126f 4.83 4.83 ± 0.01
action python_version commit median max memory (MB) mean max memory (MB) ± std
show py37 bschubert/resolve-variables - 5b631127 186.41 186.44 ± 0.05
py37 master - b9f0126f 186.395 186.33 ± 0.16

There were 3 runs of each command.

Edited by Benjamin Schubert

Merge request reports