Skip to content

Conversation

surfnerd
Copy link
Collaborator

@surfnerd surfnerd commented Aug 29, 2024

CHANGE: Make sure all callbacks are instrumented with ProfilerMarkers instead of Profiler.Begin/EndSample.

Description

Remove calls to Profiler.BeginSample/Profiler.EndSample so we can record profiler information in tests.

Changes made

Remove calls to Profiler.BeginSample/Profiler.EndSample so we can record profiler information in tests.

Testing

Tested to ensure the same profiler markers were showing up in the timeline.

Risk

low

Checklist

Before review:
Previous changelog entry is still valid.
- [ ] Changelog entry added.
- Explains the change in Changed, Fixed, Added sections.
- For API change contains an example snippet and/or migration example.
- JIRA ticket linked, example (case %%). If it is a private issue, just add the case ID without a link.
- Jira port for the next release set as "Resolved".
- [ ] Tests added/changed, if applicable.
- Functional tests Area_CanDoX, Area_CanDoX_EvenIfYIsTheCase, ~Area_WhenIDoX_AndYHappens_ThisIsTheResult.
- Performance tests.
- Integration tests.
- [ ] Docs for new/changed API's.
- Xmldoc cross references are set correctly.
- Added explanation how the API works.
- Usage code examples added.
- The manual is updated, if needed.

During merge:

  • Commit message for squash-merge is prefixed with one of the list:
    • NEW: ___.
    • FIX: ___.
    • DOCS: ___.
    • CHANGE: ___.
    • RELEASE: 1.1.0-preview.3.

After merge:

  • Create forward/backward port if needed. If you are blocked from creating a forward port now please add a task to ISX-1444.

@surfnerd surfnerd requested a review from ekcoh September 3, 2024 15:56
@surfnerd surfnerd force-pushed the input/convert-to-profiler-markers branch from 7e480ea to f3dd7b1 Compare September 3, 2024 15:56
@surfnerd surfnerd marked this pull request as ready for review September 3, 2024 15:57
Copy link
Collaborator

@ekcoh ekcoh left a comment

Choose a reason for hiding this comment

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

LGTM

@ekcoh ekcoh requested a review from Pauliusd01 September 4, 2024 12:27
@ekcoh
Copy link
Collaborator

ekcoh commented Sep 4, 2024

Added @Pauliusd01 in case you want to QA before landing this.

@Pauliusd01
Copy link
Collaborator

@ekcoh Is this for 1.11? We're 80% through release testing. If It's safe then I can pass it along, I'm not exactly an expert on profiling so all I did was profile a few scenes and checked if the same input calls show up as before

@Pauliusd01 Pauliusd01 merged commit 1402022 into develop Sep 5, 2024
77 checks passed
@Pauliusd01 Pauliusd01 deleted the input/convert-to-profiler-markers branch September 5, 2024 06:42
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.

3 participants