Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Function call overhead #229
Quite some drive by fixes in here :)
Had to add the configuration option so that it doesn't drive up our test times - these 0.02 seconds add up when you do it a hundred times!
Idea as a follow up: Show the measured overhead in the printed out configuration. That improves discoverability but also adds a place to show that someone has it intentionally turned off (it's opt out). However, that requires moving code around: Either move the printing into the runner (not really the right place) or move the inner part of the runner somewhere else so that it can be called from
Here it is in action, making it visible that a lot of the function are just optimized by the compiler to return a constant (which is great):