评论由:mfikes
补丁1.0免费。
基准测试:1. }
之前
基准测试与V8 [f (fn [] (cljs.core/into cljs.core.PersistentQueue.EMPTY []))], (f), 100000000次运行,442毫秒;基准测试与SpiderMonkey [f (fn [] (cljs.core/into cljs.core.PersistentQueue.EMPTY []))], (f), 100000000次运行,988毫秒;基准测试与JavaScriptCore [f (fn [] (cljs.core/into cljs.core.PersistentQueue.EMPTY []))], (f),100000000次运行,2041毫秒;基准测试与Nashorn [f (fn [] (cljs.core/into cljs.core.PersistentQueue.EMPTY []))], (f),100000000次运行,47257毫秒;基准测试与ChakraCore [f (fn [] (cljs.core/into cljs.core.PersistentQueue.EMPTY []))], (f),100000000次运行,3040毫秒;基准测试与GraalVM [f (fn [] (cljs.core/into cljs.core.PersistentQueue.EMPTY []))], (f),100000000次运行,296毫秒。
之后
基准测试与V8 [f (fn [] cljs.core.PersistentQueue.EMPTY)], (f),100000000次运行,0毫秒;基准测试与SpiderMonkey [f (fn [] cljs.core.PersistentQueue.EMPTY)], (f),100000000次运行,0毫秒;基准测试与JavaScriptCore [f (fn [] cljs.core.PersistentQueue.EMPTY)], (f),100000000次运行,0毫秒;基准测试与Nashorn [f (fn [] cljs.core.PersistentQueue.EMPTY)], (f),100000000次运行,-1毫秒;基准测试与ChakraCore [f (fn [] cljs.core.PersistentQueue.EMPTY)], (f),100000000次运行,-5毫秒;基准测试与GraalVM [f (fn [] cljs.core.PersistentQueue.EMPTY)], (f),100000000次运行,-1毫秒。