update Elm UI benchmark

This commit is contained in:
Matthew Griffith 2021-07-08 09:45:56 -04:00
parent aeaa27c2a4
commit f1e76cfcd2
3 changed files with 6 additions and 6 deletions

View File

@ -115,6 +115,7 @@ const reportAnalysis = function(fns: string[]) {
let fns_string = "";
for (const fn_name of fns) {
if (fn_name == "html" || fn_name == "createNode"|| fn_name.startsWith("$author$project$V8")){ continue }
fns_string = fns_string + "{ name: \"" + fn_name + "\", ref:" + fn_name + "}"
}

View File

@ -2,11 +2,11 @@ module Suite exposing (suite)
{-| -}
import Benchmark exposing (..)
import V8.Benchmark.Runner.Json exposing (..)
import Element exposing (..)
import Element.Background as Background
import Element.Font as Font
import V8.Debug
three =
List.repeat 3 0
@ -32,7 +32,7 @@ viewLevels level _ =
else
Element.row
[ Font.size 16
, Background.color blue
[ V8.Debug.memory "font size" (Font.size 16)
, V8.Debug.memory "bg:blue" (Background.color blue)
]
(List.map (viewLevels (level - 1)) three)

View File

@ -1,8 +1,7 @@
{
"type": "application",
"source-directories": [
".",
"../benchmark-utilities"
"."
],
"elm-version": "0.19.1",
"dependencies": {