Switch to elm-bench#102
Open
gampleman wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR switches our benchmarking implementation to my new elm-bench tool.
The automatic verification feature was helpful, as we found several benchmarks that were incorrect (and these are fixed below).
I also re-ran the whole suite (
elm-bench run -t node -t chrome -t firefox -t safari- this takes a long time) in a bunch of runtimes and have the results here:core-extra / application / curry
core-extra / application / chain
core-extra / Array / Array.fold
core-extra / Array.Extra / mapToList
core-extra / Array.Extra / indexedMapToList
core-extra / Array.Extra / reverse
core-extra / Array.Extra / unzip
core-extra / Array.Extra / map2
core-extra / Array.Extra / filterMap
core-extra / Array.Extra / all
core-extra / Array.Extra / any
core-extra / Array.Extra / intersperse
core-extra / Array.Extra / member
core-extra / List.Extra / uniquePairs
core-extra / List.Extra / unfoldr
core-extra / List.Extra / lift2
core-extra / List.Extra / lift3
core-extra / List.Extra / lift4
core-extra / List.Extra / notMember 1
core-extra / List.Extra / notMember 99
core-extra / List.Extra / notMember 101
core-extra / List.Extra / dropRight 5 10
core-extra / List.Extra / takeRight 5 10
core-extra / List.Extra / dropRight 50 100
core-extra / List.Extra / takeRight 50 100
core-extra / List.Extra / dropRight 500 1000
core-extra / List.Extra / takeRight 500 1000
core-extra / List.Extra / insertAt negative index
core-extra / List.Extra / insertAt good positive index
core-extra / List.Extra / insertAt bad positive index
core-extra / List.Extra / groupsOfWithStep 3 2 [1..10]
core-extra / List.Extra / greedyGroupsOfWithStep 3 2 [1..10]
core-extra / List.Extra / groupsOfWithStep 3 2 [1..100]
core-extra / List.Extra / greedyGroupsOfWithStep 3 2 [1..100]
core-extra / List.Extra / groupsOfWithStep 3 2 [1..1000]
core-extra / List.Extra / greedyGroupsOfWithStep 3 2 [1..1000]
core-extra / List.Extra / groupsOfWithStep 3 2 [1..10000]
core-extra / List.Extra / greedyGroupsOfWithStep 3 2 [1..10000]
core-extra / Tuple.Extra / construction
core-extra / Set.Extra / areDisjoint == True
core-extra / Set.Extra / areDisjoint == False (and small)
core-extra / Set.Extra / areDisjoint == False (and large)
core-extra / Set.Extra / symmetricDifference
core-extra / String.Extra / isBlank / empty string
core-extra / String.Extra / isBlank / whitespace string
core-extra / String.Extra / isBlank / full string
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 1 match / rightOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 1 match / leftOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 10 matches / rightOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 10 matches / leftOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 100 matches / rightOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 100 matches / leftOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 1000 matches / rightOf
core-extra / String.Extra / String.Extra.{rightOf,leftOf} / 1000 matches / leftOf
core-extra / Maybe.Extra / andMap - Just × Just
core-extra / Maybe.Extra / andMap - Nothing × Just
core-extra / Maybe.Extra / andMap - Just × Nothing
core-extra / Maybe.Extra / andMap - Nothing × Nothing
core-extra / Result.Extra / andMap - Ok × Ok
core-extra / Result.Extra / andMap - Err × Ok
core-extra / Result.Extra / andMap - Ok × Err
core-extra / Result.Extra / andMap - Err × Err
core-extra / Result.Extra / andMap - Err × Err (2)
core-extra / Result.Extra / foldlWhileOk - Err at the first element
core-extra / Result.Extra / foldlWhileOk - all Ok