Skip to content

rethink parser #101

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

Open
wants to merge 177 commits into
base: main
Choose a base branch
from
Open

rethink parser #101

wants to merge 177 commits into from

Conversation

thorek1
Copy link
Owner

@thorek1 thorek1 commented Feb 14, 2025

No description provided.

Copy link

github-actions bot commented Feb 14, 2025

Benchmark Results

main 39fcd87... main / 39fcd87...
FS2000/NSSS 0.406 ± 0.074 ms 15.6 ± 0.63 μs 26 ± 4.8
FS2000/covariance 0.572 ± 0.025 ms 0.126 ± 0.025 ms 4.53 ± 0.93
FS2000/irf 1.48 ± 0.12 ms 1.08 ± 0.025 ms 1.37 ± 0.12
FS2000/jacobian 0.0486 ± 0.0014 ms 2.47 ± 0.0071 μs 19.7 ± 0.58
FS2000/lyapunov/bartels_stewart 0.102 ± 0.00089 ms 0.098 ± 0.0012 ms 1.04 ± 0.016
FS2000/lyapunov/bicgstab 30 ± 1.1 μs 30.4 ± 1.6 μs 0.988 ± 0.065
FS2000/lyapunov/doubling 0.0514 ± 0.013 ms 0.0387 ± 0.015 ms 1.33 ± 0.61
FS2000/lyapunov/gmres 26.2 ± 1.4 μs 26.2 ± 1.7 μs 1 ± 0.085
FS2000/qme/doubling 0.125 ± 0.0022 ms 0.124 ± 0.0022 ms 1 ± 0.025
FS2000/qme/schur 0.0818 ± 0.012 ms 0.0839 ± 0.016 ms 0.975 ± 0.24
NAWM_EAUS_2008/NSSS 6.01 ± 0.16 ms 2.29 ± 0.27 ms 2.63 ± 0.32
NAWM_EAUS_2008/covariance 31.3 ± 2.2 ms 24.4 ± 0.49 ms 1.28 ± 0.092
NAWM_EAUS_2008/irf 0.0329 ± 0.0012 s 27.7 ± 0.46 ms 1.19 ± 0.047
NAWM_EAUS_2008/jacobian 0.961 ± 0.013 ms 0.0642 ± 0.009 ms 15 ± 2.1
NAWM_EAUS_2008/lyapunov/bartels_stewart 29.4 ± 1.4 ms 28.1 ± 1.1 ms 1.05 ± 0.065
NAWM_EAUS_2008/lyapunov/bicgstab 0.197 ± 0.00059 s 0.312 ± 0.0049 s 0.632 ± 0.01
NAWM_EAUS_2008/lyapunov/doubling 17.8 ± 0.42 ms 17.6 ± 0.57 ms 1.01 ± 0.041
NAWM_EAUS_2008/lyapunov/gmres 0.141 ± 0.0056 s 0.143 ± 0.005 s 0.983 ± 0.052
NAWM_EAUS_2008/qme/doubling 25.5 ± 2.8 ms 25.4 ± 2.6 ms 1 ± 0.15
NAWM_EAUS_2008/qme/schur 16.8 ± 0.43 ms 17 ± 0.35 ms 0.989 ± 0.032
Smets_Wouters_2007/NSSS 0.13 ± 0.0056 ms 0.161 ± 0.015 ms 0.809 ± 0.084
Smets_Wouters_2007/covariance 1.92 ± 0.093 ms 1.67 ± 0.39 ms 1.15 ± 0.27
Smets_Wouters_2007/irf 5.99 ± 0.31 ms 5.89 ± 0.4 ms 1.02 ± 0.086
Smets_Wouters_2007/jacobian 0.285 ± 0.0021 ms 25.9 ± 22 μs 11 ± 9.2
Smets_Wouters_2007/lyapunov/bartels_stewart 1.49 ± 0.015 ms 1.41 ± 0.013 ms 1.06 ± 0.015
Smets_Wouters_2007/lyapunov/bicgstab 5.89 ± 0.08 ms 6.45 ± 0.14 ms 0.913 ± 0.024
Smets_Wouters_2007/lyapunov/doubling 0.963 ± 0.016 ms 0.963 ± 0.012 ms 1 ± 0.021
Smets_Wouters_2007/lyapunov/gmres 6.87 ± 0.37 ms 7.07 ± 0.3 ms 0.973 ± 0.066
Smets_Wouters_2007/qme/doubling 1.74 ± 0.021 ms 1.74 ± 0.022 ms 1.01 ± 0.018
Smets_Wouters_2007/qme/schur 1.26 ± 0.032 ms 1.36 ± 0.034 ms 0.925 ± 0.033
time_to_load 10.5 ± 0.018 s 11 ± 0.022 s 0.958 ± 0.0025
main 39fcd87... main / 39fcd87...
FS2000/NSSS 4.42 k allocs: 0.242 MB 0.292 k allocs: 16.9 kB 14.7
FS2000/covariance 5.25 k allocs: 0.356 MB 0.928 k allocs: 0.126 MB 2.82
FS2000/irf 11.7 k allocs: 0.581 MB 7.47 k allocs: 0.356 MB 1.63
FS2000/jacobian 0.134 k allocs: 4.86 kB 1 allocs: 16 B 311
FS2000/lyapunov/bartels_stewart 0.076 k allocs: 0.0657 MB 0.075 k allocs: 0.0657 MB 1
FS2000/lyapunov/bicgstab 0.089 k allocs: 0.0378 MB 0.089 k allocs: 0.0378 MB 1
FS2000/lyapunov/doubling 0.063 k allocs: 0.0393 MB 0.063 k allocs: 0.0393 MB 1
FS2000/lyapunov/gmres 0.147 k allocs: 0.0816 MB 0.147 k allocs: 0.0816 MB 1
FS2000/qme/doubling 0.199 k allocs: 0.0434 MB 0.199 k allocs: 0.0434 MB 1
FS2000/qme/schur 0.263 k allocs: 0.0848 MB 0.263 k allocs: 0.0848 MB 1
NAWM_EAUS_2008/NSSS 1.96 k allocs: 4.55 MB 1.53 k allocs: 1.3 MB 3.5
NAWM_EAUS_2008/covariance 6.74 k allocs: 17.9 MB 4.03 k allocs: 15.3 MB 1.17
NAWM_EAUS_2008/irf 0.112 M allocs: 19.7 MB 0.111 M allocs: 16.5 MB 1.19
NAWM_EAUS_2008/jacobian 2.23 k allocs: 0.0683 MB 7 allocs: 0.709 MB 0.0964
NAWM_EAUS_2008/lyapunov/bartels_stewart 0.079 k allocs: 4.92 MB 0.078 k allocs: 4.92 MB 1
NAWM_EAUS_2008/lyapunov/bicgstab 0.092 k allocs: 5.66 MB 0.092 k allocs: 5.66 MB 1
NAWM_EAUS_2008/lyapunov/doubling 0.07 k allocs: 6.87 MB 0.07 k allocs: 6.87 MB 1
NAWM_EAUS_2008/lyapunov/gmres 0.392 k allocs: 0.0412 GB 0.392 k allocs: 0.0412 GB 1
NAWM_EAUS_2008/qme/doubling 0.305 k allocs: 6.29 MB 0.305 k allocs: 6.29 MB 1
NAWM_EAUS_2008/qme/schur 0.41 k allocs: 7.4 MB 0.41 k allocs: 7.4 MB 1
Smets_Wouters_2007/NSSS 1.23 k allocs: 0.105 MB 1.03 k allocs: 0.0524 MB 2
Smets_Wouters_2007/covariance 3.49 k allocs: 1.33 MB 2.64 k allocs: 1.33 MB 1.01
Smets_Wouters_2007/irf 0.0365 M allocs: 2.36 MB 0.0361 M allocs: 2.32 MB 1.02
Smets_Wouters_2007/jacobian 0.491 k allocs: 18.3 kB 7 allocs: 0.0612 MB 0.292
Smets_Wouters_2007/lyapunov/bartels_stewart 0.078 k allocs: 0.44 MB 0.077 k allocs: 0.44 MB 1
Smets_Wouters_2007/lyapunov/bicgstab 0.091 k allocs: 0.469 MB 0.091 k allocs: 0.469 MB 1
Smets_Wouters_2007/lyapunov/doubling 0.069 k allocs: 0.568 MB 0.069 k allocs: 0.568 MB 1
Smets_Wouters_2007/lyapunov/gmres 0.303 k allocs: 2.66 MB 0.303 k allocs: 2.66 MB 1
Smets_Wouters_2007/qme/doubling 0.298 k allocs: 0.624 MB 0.298 k allocs: 0.624 MB 1
Smets_Wouters_2007/qme/schur 0.398 k allocs: 0.757 MB 0.398 k allocs: 0.757 MB 1
time_to_load 0.153 k allocs: 10.7 kB 0.153 k allocs: 10.7 kB 1

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

@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2025

Codecov Report

Attention: Patch coverage is 87.93970% with 24 lines in your changes missing coverage. Please review.

Project coverage is 87.57%. Comparing base (a812b78) to head (39fcd87).
Report is 41 commits behind head on main.

Files with missing lines Patch % Lines
src/macros.jl 31.57% 13 Missing ⚠️
src/algorithms/nonlinear_solver.jl 93.49% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   87.88%   87.57%   -0.31%     
==========================================
  Files          18       18              
  Lines       10218    10523     +305     
==========================================
+ Hits         8980     9216     +236     
- Misses       1238     1307      +69     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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