question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version 0.4.2 performance degraded

See original GitHub issue

Upgraded from 0.4.0 to 0.4.2 and run time went up from 5 to 13 minutes for a total of 104 tests.

In addition I started getting warnings for contracts found in node_modules which was not the case before and no other changes besides solidity-coverage upgrade were made.

Warning: The file at ./coverageEnv/node_modules/solidity-parser-antlr/solidity-antlr4/test.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it
Warning: The file at ./coverageEnv/node_modules/solidity-parser-antlr/test/test.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it
Warning: The file at ./coverageEnv/node_modules/solium/test/lib/rules/double-quotes/accept/double-quoted.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it
Warning: The file at ./coverageEnv/node_modules/solium/test/lib/rules/double-quotes/reject/single-quoted.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it
Warning: The file at ./coverageEnv/node_modules/solium/test/lib/rules/quotes/double-quoted.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it
Warning: The file at ./coverageEnv/node_modules/solium/test/lib/rules/quotes/single-quoted.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it
Warning: The file at ./coverageEnv/node_modules/solparse/test/doc_examples.sol was identified as a Solidity Contract, but did not parse correctly. You may ignore this warning if it is not a Solidity file, or your project does not use it

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
cgeweckecommented, Dec 12, 2017

Oh hmm. Yes. That makes sense. I think we should definitely add something to the README about locally scoped truffle / testrpc. Thanks again for debugging here.

1reaction
cgeweckecommented, Dec 7, 2017

Thanks @elenadimitrova.

The warnings were introduced with this PR to fix a bug caused by our own test suite. Additionally we are now sweeping across a staggering number of files to address problems raised by thepure and view restrictions.

In any case, hoping to publish 0.4.3 by tomorrow which will include a recent PR that lets you specify individual packages from node_modules to include rather than the entire folder. This will require changing your .solcover.js to use the new option but should be quite a bit faster.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Performance/Sum not autocorrecting injects or reduces with ...
Expected behavior After enabling Performance/Sum, I expect that the following lines will all be autocorrected to use sum: [1, 2, ...
Read more >
UE4 performance issues since the Oculus 0.4.3 runtime
I could run my scene at "hmd sp 140" on 0.4.2 Direct Mode (no mirroring) with solid 75 fps, but now in order...
Read more >
Issue Tracker - Grounded - Obsidian Entertainment
Fixed on Live Xbox One has reduced performance and may power down due to overheating during the mantis battle. Fixed on Live Black...
Read more >
Umbrel 0.4.2 is out with a new app, performance upgrades ...
If you've faced connectivity issues between Samourai Wallet and Dojo/Whirlpool on your Umbrel, the latest version of Samourai Server should fix ...
Read more >
Working Around Legacy Acceleration Issues - Dortania
Working Around Legacy Acceleration Issues ... With version 0.2.5, this issue should be full resolved ... Legacy Fix (prior to 0.4.2).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found