Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support codegen for expressions involving arrays of symbolics #626

Conversation

AayushSabharwal
Copy link
Contributor

No description provided.

Copy link
Contributor

Benchmark Results

master a6929f4... master/a6929f457356ad...
overhead/acrule/a+2 0.755 ± 0.018 μs 0.729 ± 0.022 μs 1.04
overhead/acrule/a+2+b 0.734 ± 0.018 μs 0.707 ± 0.022 μs 1.04
overhead/acrule/a+b 0.258 ± 0.0098 μs 0.259 ± 0.009 μs 0.996
overhead/acrule/noop:Int 25.9 ± 0.92 ns 25.9 ± 0.92 ns 1
overhead/acrule/noop:Sym 0.0367 ± 0.0053 μs 0.0368 ± 0.0059 μs 0.999
overhead/rule/noop:Int 0.0446 ± 0.00052 μs 0.0443 ± 0.0012 μs 1.01
overhead/rule/noop:Sym 0.055 ± 0.0025 μs 0.0551 ± 0.0025 μs 0.999
overhead/rule/noop:Term 0.0551 ± 0.0024 μs 0.0549 ± 0.0026 μs 1
overhead/ruleset/noop:Int 0.13 ± 0.0031 μs 0.13 ± 0.0027 μs 0.996
overhead/ruleset/noop:Sym 0.158 ± 0.0051 μs 0.156 ± 0.0047 μs 1.01
overhead/ruleset/noop:Term 3.2 ± 0.15 μs 3.23 ± 0.15 μs 0.991
overhead/simplify/noop:Int 0.141 ± 0.0022 μs 0.141 ± 0.0043 μs 0.999
overhead/simplify/noop:Sym 0.161 ± 0.005 μs 0.164 ± 0.0024 μs 0.978
overhead/simplify/noop:Term 0.0361 ± 0.0019 ms 0.0384 ± 0.0022 ms 0.941
overhead/simplify/randterm (+, *):serial 0.0878 ± 0.00079 s 0.0897 ± 0.001 s 0.979
overhead/simplify/randterm (+, *):thread 0.0512 ± 0.032 s 0.0519 ± 0.036 s 0.987
overhead/simplify/randterm (/, *):serial 0.21 ± 0.0066 ms 0.221 ± 0.0077 ms 0.95
overhead/simplify/randterm (/, *):thread 0.238 ± 0.0079 ms 0.25 ± 0.009 ms 0.951
overhead/substitute/a 0.0584 ± 0.0015 ms 0.0603 ± 0.0015 ms 0.97
overhead/substitute/a,b 0.0516 ± 0.0042 ms 0.0526 ± 0.0015 ms 0.98
overhead/substitute/a,b,c 16.9 ± 0.72 μs 16.9 ± 0.66 μs 0.999
polyform/easy_iszero 28.8 ± 2.1 μs 28.9 ± 2.1 μs 0.996
polyform/isone 2.79 ± 0.01 ns 2.79 ± 0.01 ns 1
polyform/iszero 1.11 ± 0.033 ms 1.13 ± 0.033 ms 0.98
polyform/simplify_fractions 1.63 ± 0.04 ms 1.63 ± 0.039 ms 0.997
time_to_load 4.48 ± 0.0084 s 4.5 ± 0.021 s 0.997

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

@ChrisRackauckas ChrisRackauckas merged commit 60d5df0 into JuliaSymbolics:master Jul 30, 2024
10 checks passed
@AayushSabharwal AayushSabharwal deleted the as/symbolic-array-codegen branch July 31, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants