Skip to content

Avoid usage of freed memory#428

Merged
r1viollet merged 1 commit into
mainfrom
r1viollet/fix_lifetime_cached_objects
Oct 8, 2024
Merged

Avoid usage of freed memory#428
r1viollet merged 1 commit into
mainfrom
r1viollet/fix_lifetime_cached_objects

Conversation

@r1viollet

@r1viollet r1viollet commented Oct 8, 2024

Copy link
Copy Markdown
Collaborator

What does this PR do?

Ensure there can not be a free between the unwinding and aggregation steps

Motivation

There was an issue in CI following the introduction of thread names for timeline

Additional Notes

We could re-architect the C++ to be generally safer
Open to ideas here

How to test the change?

This was already caught by CI! Congrats tests!

Ensure there can not be a free between the unwinding and aggregation steps
@pr-commenter

pr-commenter Bot commented Oct 8, 2024

Copy link
Copy Markdown

Benchmark results for collatz

Parameters

Baseline Candidate
config baseline candidate
profiler-version ddprof 0.18.0+09d59ab6.46046082 ddprof 0.18.0+33202542.46054894

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean execution_time
scenario:ddprof -S bench-collatz --preset cpu_only collatz_runner.sh same

@pr-commenter

pr-commenter Bot commented Oct 8, 2024

Copy link
Copy Markdown

Benchmark results for BadBoggleSolver_run

Parameters

Baseline Candidate
config baseline candidate
profiler-version ddprof 0.18.0+09d59ab6.46046082 ddprof 0.18.0+33202542.46054894

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean execution_time
scenario:ddprof -S bench-bad-boggle-solver BadBoggleSolver_run work 1000 same

@r1viollet
r1viollet merged commit 1fa3fc8 into main Oct 8, 2024
@r1viollet
r1viollet deleted the r1viollet/fix_lifetime_cached_objects branch October 8, 2024 12:35
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