Skip to content

Conversation

@thorek1
Copy link
Owner

@thorek1 thorek1 commented Feb 14, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 14, 2025

Benchmark Results

main 6f0b3bb... main / 6f0b3bb...
FS2000/NSSS 15.8 ± 0.73 μs 15.8 ± 1.1 μs 0.999 ± 0.081
FS2000/covariance 0.124 ± 0.003 ms 0.127 ± 0.025 ms 0.979 ± 0.19
FS2000/irf 1.1 ± 0.078 ms 1.1 ± 0.034 ms 0.998 ± 0.077
FS2000/jacobian 2.48 ± 0.007 μs 2.47 ± 0.0079 μs 1 ± 0.0043
FS2000/lyapunov/bartels_stewart 0.0999 ± 0.0015 ms 0.0991 ± 0.00087 ms 1.01 ± 0.017
FS2000/lyapunov/bicgstab 0.0437 ± 0.0014 ms 30.7 ± 1.9 μs 1.42 ± 0.1
FS2000/lyapunov/doubling 0.039 ± 0.014 ms 0.0393 ± 0.014 ms 0.994 ± 0.5
FS2000/lyapunov/gmres 27.2 ± 2.4 μs 27 ± 2.8 μs 1.01 ± 0.14
FS2000/qme/doubling 0.126 ± 0.0018 ms 0.123 ± 0.0015 ms 1.02 ± 0.019
FS2000/qme/schur 0.0703 ± 0.017 ms 0.0837 ± 0.017 ms 0.841 ± 0.26
NAWM_EAUS_2008/NSSS 7.54 ± 0.32 ms 7 ± 0.28 ms 1.08 ± 0.064
NAWM_EAUS_2008/covariance 0.0317 ± 0.0024 s 31.1 ± 1.9 ms 1.02 ± 0.1
NAWM_EAUS_2008/irf 0.0336 ± 0.00097 s 0.0331 ± 0.00099 s 1.01 ± 0.042
NAWM_EAUS_2008/jacobian 0.0673 ± 0.011 ms 0.07 ± 0.0059 ms 0.962 ± 0.17
NAWM_EAUS_2008/lyapunov/bartels_stewart 28.9 ± 1.6 ms 28.1 ± 1.4 ms 1.03 ± 0.075
NAWM_EAUS_2008/lyapunov/bicgstab 0.208 ± 0.0022 s 0.247 ± 0.00019 s 0.842 ± 0.009
NAWM_EAUS_2008/lyapunov/doubling 17.8 ± 0.49 ms 16.8 ± 0.45 ms 1.05 ± 0.04
NAWM_EAUS_2008/lyapunov/gmres 0.153 ± 0.0045 s 0.146 ± 0.0047 s 1.04 ± 0.045
NAWM_EAUS_2008/qme/doubling 25.9 ± 1.5 ms 25.6 ± 1.9 ms 1.01 ± 0.093
NAWM_EAUS_2008/qme/schur 17.2 ± 0.53 ms 16.4 ± 0.28 ms 1.05 ± 0.037
Smets_Wouters_2007/NSSS 0.157 ± 0.015 ms 0.162 ± 0.014 ms 0.968 ± 0.13
Smets_Wouters_2007/covariance 1.7 ± 0.41 ms 1.68 ± 0.4 ms 1.01 ± 0.34
Smets_Wouters_2007/irf 6.01 ± 0.48 ms 6.04 ± 0.41 ms 0.995 ± 0.1
Smets_Wouters_2007/jacobian 25.1 ± 22 μs 25.5 ± 21 μs 0.981 ± 1.2
Smets_Wouters_2007/lyapunov/bartels_stewart 1.47 ± 0.017 ms 1.45 ± 0.016 ms 1.02 ± 0.016
Smets_Wouters_2007/lyapunov/bicgstab 6.25 ± 0.083 ms 7.1 ± 0.11 ms 0.881 ± 0.018
Smets_Wouters_2007/lyapunov/doubling 0.967 ± 0.015 ms 0.968 ± 0.013 ms 1 ± 0.02
Smets_Wouters_2007/lyapunov/gmres 7.15 ± 0.37 ms 7.13 ± 0.3 ms 1 ± 0.067
Smets_Wouters_2007/qme/doubling 1.73 ± 0.026 ms 1.73 ± 0.022 ms 1 ± 0.02
Smets_Wouters_2007/qme/schur 1.44 ± 0.036 ms 1.31 ± 0.036 ms 1.1 ± 0.041
time_to_load 11.1 ± 0.1 s 11.2 ± 0.05 s 0.999 ± 0.01
main 6f0b3bb... main / 6f0b3bb...
FS2000/NSSS 0.292 k allocs: 16.9 kB 0.292 k allocs: 16.9 kB 1
FS2000/covariance 0.928 k allocs: 0.126 MB 0.928 k allocs: 0.126 MB 1
FS2000/irf 7.47 k allocs: 0.356 MB 7.47 k allocs: 0.356 MB 1
FS2000/jacobian 1 allocs: 16 B 1 allocs: 16 B 1
FS2000/lyapunov/bartels_stewart 0.075 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 2.68 k allocs: 5.34 MB 2.63 k allocs: 5.2 MB 1.03
NAWM_EAUS_2008/covariance 5.17 k allocs: 19.3 MB 5.13 k allocs: 19.2 MB 1.01
NAWM_EAUS_2008/irf 0.113 M allocs: 20.6 MB 0.113 M allocs: 20.4 MB 1.01
NAWM_EAUS_2008/jacobian 7 allocs: 0.709 MB 7 allocs: 0.709 MB 1
NAWM_EAUS_2008/lyapunov/bartels_stewart 0.078 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.395 k allocs: 0.0416 GB 0.392 k allocs: 0.0412 GB 1.01
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.06 k allocs: 0.0671 MB 1.02 k allocs: 0.0524 MB 1.28
Smets_Wouters_2007/covariance 2.68 k allocs: 1.34 MB 2.64 k allocs: 1.33 MB 1.01
Smets_Wouters_2007/irf 0.0361 M allocs: 2.33 MB 0.0361 M allocs: 2.32 MB 1.01
Smets_Wouters_2007/jacobian 7 allocs: 0.0612 MB 7 allocs: 0.0612 MB 1
Smets_Wouters_2007/lyapunov/bartels_stewart 0.077 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 88.17734% with 24 lines in your changes missing coverage. Please review.

Project coverage is 87.74%. Comparing base (67a68a2) to head (9d09886).

Files with missing lines Patch % Lines
src/macros.jl 53.57% 13 Missing ⚠️
src/algorithms/nonlinear_solver.jl 93.49% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   86.09%   87.74%   +1.64%     
==========================================
  Files          18       18              
  Lines       10172    10618     +446     
==========================================
+ Hits         8758     9317     +559     
+ Misses       1414     1301     -113     

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

thorek1 and others added 29 commits June 1, 2025 10:47
* Add test for parsing if statements inside for loops

* more conditions added

* Handle nested loops with conditionals

* test script

* intermediate version if else elseif

* works on normal case

* minor update on nothin condition

* complete if parsing

* fix if parsing

* type stable remove_nothing

* add test backus with for and if

* type stability rm for remove_nothing

* fix types on remove nothing...

* Delete benchmark/Backus_Kehoe_Kydland_1992.jl

* Delete benchmark/test_if_else.jl

* Delete test/if_for_loop_test.jl

* Delete test/mini_parser.jl

* no dipatch doctor on contains_equation

* no dispatch doctor on the if expr parsing related codes
@thorek1 thorek1 merged commit f615944 into main Jun 21, 2025
21 of 28 checks passed
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