Skip to content

Capture event when unoptimized asm#365

Closed
bruno-garcia wants to merge 1 commit into
mainfrom
feat/notify-unoptimized-asm
Closed

Capture event when unoptimized asm#365
bruno-garcia wants to merge 1 commit into
mainfrom
feat/notify-unoptimized-asm

Conversation

@bruno-garcia
Copy link
Copy Markdown
Member

@bruno-garcia bruno-garcia commented Feb 18, 2020

I first thought of this feature when I found out that the old Sentry SDK had debug builds published to nuget.org.
This is happening because default of dotnet pack is Debug. One needs to set -c Release to get the optmized assemblies.

Since this came again on twitter, I decided to open up a draft at least to discuss.

Resolves #364

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 18, 2020

Codecov Report

Merging #365 into master will decrease coverage by 1.07%.
The diff coverage is 13.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #365      +/-   ##
==========================================
- Coverage   93.33%   92.26%   -1.08%     
==========================================
  Files         117      118       +1     
  Lines        2806     2843      +37     
==========================================
+ Hits         2619     2623       +4     
- Misses        187      220      +33
Impacted Files Coverage Δ
src/Sentry/Reflection/AssemblyExtensions.cs 75% <0%> (-25%) ⬇️
src/Sentry/SentryOptions.cs 97.97% <100%> (+0.04%) ⬆️
...try/Integrations/UnoptimizedAssemblyIntegration.cs 6.06% <6.06%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ba8aeb...654211d. Read the comment docs.

@bruno-garcia bruno-garcia changed the base branch from master to main June 15, 2020 02:33
@Tyrrrz
Copy link
Copy Markdown
Contributor

Tyrrrz commented May 27, 2021

Can be closed now? 😉

@bruno-garcia
Copy link
Copy Markdown
Member Author

There's a analyzer for this now:
https://garcia.in/posts/2021/pitfalls-of-unoptimized-nuget-packages/

@bruno-garcia bruno-garcia deleted the feat/notify-unoptimized-asm branch May 30, 2021 16:19
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.

Notify assembly built in Debug loaded

3 participants