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.

Significant (3x) load time regression beginning in 9.0.10339

See original GitHub issue

Describe the bug. 3x load time regression in angr beginning with angr-9.0.10339

Version 9.0.10281

$ time python3 -m angr # version 9.0.10281
/usr/bin/python3: No module named angr.__main__; 'angr' is a package and cannot be directly executed

real	0m1.973s
user	0m1.842s
sys	0m0.131s

Version 9.0.10381

$ time python3 -m angr

/usr/bin/python3: No module named angr.__main__; 'angr' is a package and cannot be directly executed

real	0m6.119s
user	0m5.884s
sys	0m0.236s

Environment Information. Similar performance on old macbook and ec2 instance (should be reproducible on a bare ec2 instance).

To Reproduce. Compare versions 9.0.10281 and 9.0.10339 using the command

$ time python3 -m angr

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
ltfishcommented, Dec 27, 2021

Thanks! I will merge the PR once tests pass.

Apparently the more expensive EC2 instance is indeed running faster 😉

0reactions
cwgreenecommented, Dec 27, 2021

EDIT: You do have .pyc files. I suppose your machine is just slower than my VM…

Running on an 2015 macbook at the moment and an underpowered t2.medium instance, both are about 6 seconds off of master. Just tested an m5.2xlarge and that’s about 3.5 seconds off of master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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