Closed oxinabox closed 5 years ago
With the latest refinement we are now "down" to
julia> @time @run TimerOutputs.print_header(stdout, 0.5, 0.1, 3, 3, 7, false, true, 11, true, "oio")
153.022384 seconds (585.88 M allocations: 24.435 GiB, 11.27% gc time)
Note before we were not removing duplicates so it doesn't count.
I should come back and fix and merge this.
Now that this is passing tests, I am kinda ok to merge it even though it make the performance worse as it is the correct way to do this.
I have some ideas for more optimizations, but they can happen later
julia> @time @run summer((rand(4000)));
17.561403 seconds (67.94 M allocations: 2.989 GiB, 8.27% gc time)
julia> using TimerOutputs
julia> @time @run TimerOutputs.print_header(stdout, 0.5, 0.1, 3, 3, 7, false, true, 11, true, "oio")
-----------------------------------------------197.018612 seconds (537.65 M allocations: 21.873 GiB, 12.80% gc time)
julia> @time @run TimerOutputs.print_header(stdout, 0.5, 0.1, 3, 3, 7, false, true, 11, true, "oio")
----------------------------------------------- 0.056495 seconds (73.03 k allocations: 3.838 MiB)
Actionizes #73 This is branching off #70 In theory this should improve compile-times. Though it is a fiddly trade-off. We are doing more work to hopefully do less work.
Right now: first run;
Note that on #70 we have
And with this PR
With just #70