Skip to content

0.8.15

Latest
Compare
Choose a tag to compare
@cgewecke cgewecke released this 16 Apr 01:08
· 3 commits to master since this release
993d7b8

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