Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
add module discovery caching per #187 #189
This adds module discovery caching to
The cache is fairly simple and is stored per instance of
I tested against a fairly large code base to see the difference between per-instance vs global caching and the savings were statistically insignificant. That said, if you are creating hundreds/thousands of eyeglass instances, it might be beneficial.
Here are some metrics of time spent in
Other minor changes:
Previous metrics were not accurate due to double counting.
Here are updated metrics (measuring the top-level