From 09d18fb172a4c05801ae9d845551bcf5dfd50380 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Tue, 1 Sep 2020 17:02:11 -0500 Subject: [PATCH] Set optlevel to 1 --- src/ProfileView.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ProfileView.jl b/src/ProfileView.jl index 9997c8c..37617ac 100644 --- a/src/ProfileView.jl +++ b/src/ProfileView.jl @@ -1,5 +1,9 @@ module ProfileView +if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel")) + @eval Base.Experimental.@optlevel 1 +end + using Profile using FlameGraphs using Base.StackTraces: StackFrame