From f8e3bc598aec26d7507cefa7fda6af93733b8ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Fri, 28 Aug 2020 21:04:39 +0000 Subject: [PATCH] Faster startup Note, -O1 gets you most of the speedup, but -O0 a bit more, and I think it justified here. --- src/VegaLite.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/VegaLite.jl b/src/VegaLite.jl index c9e8e28f..e067f2f5 100644 --- a/src/VegaLite.jl +++ b/src/VegaLite.jl @@ -1,5 +1,9 @@ module VegaLite +if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel")) + @eval Base.Experimental.@optlevel 0 +end + using JSON, NodeJS # 6s import IteratorInterfaceExtensions # 1s import TableTraits # 0