SymbolicML / DynamicExpressions.jl

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

Deprecate varMap in favor of variable_names #39

Closed MilesCranmer closed 1 year ago

github-actions[bot] commented 1 year ago

Pull Request Test Coverage Report for Build 5306490586


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Utils.jl 3 6 50.0%
src/Equation.jl 10 14 71.43%
<!-- Total: 13 20 65.0% -->
Files with Coverage Reduction New Missed Lines %
src/precompile.jl 4 80.18%
src/Utils.jl 11 72.22%
<!-- Total: 15 -->
Totals Coverage Status
Change from base Build 5095018727: -1.9%
Covered Lines: 856
Relevant Lines: 946

💛 - Coveralls
coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 5306794933


Changes Missing Coverage Covered Lines Changed/Added Lines %
ext/DynamicExpressionsSymbolicUtilsExt.jl 12 13 92.31%
src/Utils.jl 2 5 40.0%
src/Equation.jl 9 13 69.23%
<!-- Total: 23 31 74.19% -->
Totals Coverage Status
Change from base Build 5095018727: -3.2%
Covered Lines: 940
Relevant Lines: 1053

💛 - Coveralls
github-actions[bot] commented 1 year ago

Benchmark Results

master 2e9b45d6824995... t[master]/t[2e9b45d6824995...]
eval/ComplexF32/evaluation 11.5 ± 0.75 ms 11.3 ± 0.72 ms 1.02
eval/ComplexF64/evaluation 14.1 ± 0.97 ms 14.6 ± 1 ms 0.967
eval/Float32/derivative 18.1 ± 3.8 ms 17.5 ± 2.7 ms 1.03
eval/Float32/derivative_turbo 20.5 ± 3.7 ms 20 ± 2.8 ms 1.03
eval/Float32/evaluation 3.58 ± 0.27 ms 3.5 ± 0.27 ms 1.02
eval/Float32/evaluation_turbo 1.27 ± 0.081 ms 1.22 ± 0.069 ms 1.04
eval/Float64/derivative 25.9 ± 0.72 ms 24 ± 0.64 ms 1.08
eval/Float64/derivative_turbo 29.4 ± 0.91 ms 27.7 ± 0.72 ms 1.06
eval/Float64/evaluation 3.75 ± 0.28 ms 3.64 ± 0.26 ms 1.03
eval/Float64/evaluation_turbo 1.74 ± 0.1 ms 1.69 ± 0.087 ms 1.03
time_to_load 1.99 ± 0.0072 s 2 ± 0.013 s 0.993
utils/combine_operators/break_sharing 0.0632 ± 0.0036 ms 0.0622 ± 0.0036 ms 1.02
utils/convert/break_sharing 0.0551 ± 0.0044 ms 0.0546 ± 0.0047 ms 1.01
utils/convert/preserve_sharing 0.235 ± 0.0067 ms 0.24 ± 0.0082 ms 0.978
utils/copy/break_sharing 0.0515 ± 0.0028 ms 0.0509 ± 0.0025 ms 1.01
utils/copy/preserve_sharing 0.232 ± 0.0045 ms 0.233 ± 0.0044 ms 0.998
utils/count_constants/break_sharing 26.3 ± 0.7 μs 27.2 ± 0.8 μs 0.967
utils/count_depth/break_sharing 29.1 ± 0.8 μs 28 ± 0.8 μs 1.04
utils/count_nodes/break_sharing 23.5 ± 0.7 μs 25.1 ± 0.7 μs 0.936
utils/get_set_constants!/break_sharing 0.105 ± 0.0018 ms 0.105 ± 0.0017 ms 1
utils/has_constants/break_sharing 8.66 ± 0.59 μs 8.75 ± 0.6 μs 0.989
utils/has_operators/break_sharing 3.03 ± 0.056 μs 2.51 ± 0.078 μs 1.21
utils/index_constants/break_sharing 0.081 ± 0.0034 ms 0.0836 ± 0.0039 ms 0.969
utils/is_constant/break_sharing 8.59 ± 0.6 μs 9.15 ± 0.57 μs 0.938
utils/simplify_tree/break_sharing 0.168 ± 0.016 ms 0.174 ± 0.017 ms 0.961

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).