SymbolicML / DynamicExpressions.jl

Ridiculously fast symbolic expressions
https://symbolicml.org/DynamicExpressions.jl/dev
Apache License 2.0
90 stars 11 forks source link

Type stability in hashing #46

Closed MilesCranmer closed 10 months ago

coveralls commented 10 months ago

Pull Request Test Coverage Report for Build 5764405743


Files with Coverage Reduction New Missed Lines %
src/OperatorEnumConstruction.jl 15 90.96%
<!-- Total: 15 -->
Totals Coverage Status
Change from base Build 5734174311: 0.0%
Covered Lines: 1064
Relevant Lines: 1170

💛 - Coveralls
github-actions[bot] commented 10 months ago

Benchmark Results

master 86bf7508702499... t[master]/t[86bf7508702499...]
eval/ComplexF32/evaluation 11.1 ± 0.61 ms 11.1 ± 0.65 ms 0.996
eval/ComplexF64/evaluation 13.5 ± 0.9 ms 13.9 ± 0.92 ms 0.969
eval/Float32/derivative 17.3 ± 2.6 ms 16.9 ± 2.5 ms 1.03
eval/Float32/derivative_turbo 20.1 ± 2.3 ms 19.4 ± 2.3 ms 1.04
eval/Float32/evaluation 3.67 ± 0.29 ms 3.64 ± 0.29 ms 1.01
eval/Float32/evaluation_turbo 1.16 ± 0.054 ms 1.17 ± 0.054 ms 0.993
eval/Float64/derivative 20.9 ± 1.2 ms 21 ± 0.92 ms 0.998
eval/Float64/derivative_turbo 24.4 ± 1.1 ms 24.4 ± 0.91 ms 1
eval/Float64/evaluation 3.72 ± 0.3 ms 3.72 ± 0.3 ms 1
eval/Float64/evaluation_turbo 1.74 ± 0.15 ms 1.64 ± 0.075 ms 1.06
time_to_load 0.868 ± 0.01 s 0.877 ± 0.025 s 0.99
utils/combine_operators 0.0598 ± 0.0033 ms 0.0603 ± 0.0034 ms 0.992
utils/convert/break_sharing 0.051 ± 0.0055 ms 0.0515 ± 0.0062 ms 0.99
utils/convert/preserve_sharing 0.234 ± 0.0097 ms 0.234 ± 0.0099 ms 1
utils/copy/break_sharing 0.0499 ± 0.0047 ms 0.0495 ± 0.0046 ms 1.01
utils/copy/preserve_sharing 0.238 ± 0.0084 ms 0.234 ± 0.007 ms 1.01
utils/count_constants 26.6 ± 0.9 μs 26.3 ± 0.8 μs 1.01
utils/count_depth 29.3 ± 1 μs 28.7 ± 0.8 μs 1.02
utils/count_nodes 25.1 ± 0.8 μs 25.8 ± 0.8 μs 0.973
utils/get_set_constants! 0.106 ± 0.0027 ms 0.105 ± 0.0021 ms 1.01
utils/has_constants 7.43 ± 0.5 μs 6.66 ± 0.39 μs 1.12
utils/has_operators 1.9 ± 0.05 μs 2.05 ± 0.05 μs 0.927
utils/index_constants 0.0817 ± 0.0046 ms 0.0836 ± 0.0044 ms 0.977
utils/is_constant 7 ± 0.37 μs 7.43 ± 0.4 μs 0.942
utils/simplify_tree 0.173 ± 0.017 ms 0.181 ± 0.017 ms 0.956
utils/string_tree 0.368 ± 0.012 ms 0.366 ± 0.0089 ms 1.01

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).