Skip to content

Conversation

taboege
Copy link
Member

@taboege taboege commented May 18, 2019

I'm trying to address #2798. This restores a rough test plan, now showing the number of files in the test and processing each file in a subtest. I've also removed an if False wrapper around non-solo code which was needed to prevent EVAL from executing code. I don't see how any more can be eliminated to close that issue. Suggestions welcome.

Concerning #2764, I've run the test five times on doc/Type/*.pod6 measuring maximum memory usage and cpu time using Telemetry and computed mean and std. deviation:

Commit max-rss µ cpu µ max-rss σ cpu σ
29952fc^ (before #2764) 1.72 GiB 66 s 10.9 MiB 0.5 s
8afc8a1 (@JJ's current) 1.51 GiB 51 s 4.4 MiB 0.3 s
taboege/doc@95e3a46 (this PR) 1.46 GiB 47.7 s 9.8 MiB 0.5 s

taboege added 3 commits May 19, 2019 01:13
Refactor xt/examples-compilation.t to give each tested POD file its
own subtest. This restores a rough test plan and refs Raku#2798 without
giving up memory usage improvements for Raku#2764.
Wrapping code in `if False` is not necessary anymore when not
using EVAL, refs Raku#2798.
Copy link
Contributor

@JJ JJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant! Thanks!

@JJ JJ merged commit 64d2f35 into Raku:master May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants