Skip to content

Conversation

@1-Bart-1
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 91.90751% with 14 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/panel.jl 90.38% 5 Missing ⚠️
src/wing_geometry.jl 75.00% 5 Missing ⚠️
src/body_aerodynamics.jl 93.33% 3 Missing ⚠️
src/filament.jl 83.33% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/kite_geometry.jl 88.00% <100.00%> (ø)
src/solver.jl 78.57% <100.00%> (+6.69%) ⬆️
src/filament.jl 98.57% <83.33%> (+12.85%) ⬆️
src/body_aerodynamics.jl 92.27% <93.33%> (+0.16%) ⬆️
src/panel.jl 66.91% <90.38%> (+6.14%) ⬆️
src/wing_geometry.jl 70.79% <75.00%> (+0.14%) ⬆️

@ufechner7
Copy link
Member

Can you add a script bench.jl in the test folder that measures allocations and the performance that you try to optimize?

@1-Bart-1 1-Bart-1 linked an issue Feb 21, 2025 that may be closed by this pull request
@1-Bart-1 1-Bart-1 requested a review from ufechner7 February 24, 2025 02:23
@1-Bart-1
Copy link
Member Author

AIC matrix calculation and gamma loop have less than 100 allocations each now. Calculate results still has a lot of allocations. Added a test for allocations.

Copy link
Member

@ufechner7 ufechner7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only two remarks to address.

using Interpolations: linear_interpolation, Line, Extrapolation
using Serialization
using SharedArrays
using BenchmarkTools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you want to use BenchmarkTools in the package itself?

@1-Bart-1 1-Bart-1 merged commit 262a087 into main Feb 24, 2025
7 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.

Cut down on allocations

3 participants