Skip to content

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Oct 20, 2022

This is just a quick drive-by improvement. Switching from double to float
roughly doubles performance on a contemporary x86 CPU with /fp:fast.

Validation Steps Performed

  • Patch RenderSettings.hpp to include Mode::AlwaysDistinguishableColors
  • Run a color intense application in AtlasEngine and observe CPU usage

@lhecker lhecker added the Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. label Oct 20, 2022
@lhecker lhecker added the Area-Performance Performance-related issue label Oct 21, 2022
Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Easy Button GIF

@DHowett
Copy link
Member

DHowett commented Oct 24, 2022

with /fp:fast.

hm. /fp:possibly_wrong?

@DHowett DHowett added the AutoMerge Marked for automatic merge by the bot when requirements are met label Oct 24, 2022
@ghost
Copy link

ghost commented Oct 24, 2022

Hello @DHowett!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit bbc14a0 into main Oct 24, 2022
@ghost ghost deleted the dev/lhecker/color-fix-perf branch October 24, 2022 18:49
DHowett pushed a commit that referenced this pull request Dec 12, 2022
This is just a quick drive-by improvement. Switching from double to float
roughly doubles performance on a contemporary x86 CPU with `/fp:fast`.

## Validation Steps Performed
* Patch `RenderSettings.hpp` to include `Mode::AlwaysDistinguishableColors`
* Run a color intense application in AtlasEngine and observe CPU usage

(cherry picked from commit bbc14a0)
Service-Card-Id: 87207829
Service-Version: 1.15
DHowett pushed a commit that referenced this pull request Dec 12, 2022
This is just a quick drive-by improvement. Switching from double to float
roughly doubles performance on a contemporary x86 CPU with `/fp:fast`.

## Validation Steps Performed
* Patch `RenderSettings.hpp` to include `Mode::AlwaysDistinguishableColors`
* Run a color intense application in AtlasEngine and observe CPU usage

(cherry picked from commit bbc14a0)
Service-Card-Id: 87207830
Service-Version: 1.16
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. Area-Performance Performance-related issue AutoMerge Marked for automatic merge by the bot when requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants