Speed up test runs when using viaIR
This release adds an irMinimum
option which should improve execution speeds if you're generating coverage with solc's viaIR
mode enabled. The plugin has handled viaIR
for about a year but it runs more slowly in that setting because it has to search for execution traces across a wider range of opcodes. The performance hit is especially notable in solidity code that iterates hundreds of times in loops.
NOTE: Not all code will compile withirMinimum
(you may get stack-too-deep errors unfortunately). But if yours does, this option should make things faster for you.
Usage
// .solcover.js
module.exports = {
irMinimum: true,
}
What's Changed
New Contributors
Full Changelog: v0.8.14...v0.8.15