You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recover some of the performance lost after moving into state obj
9d8aa11
regressed performance noticeably. The biggest problem was way too much
accidental memset'ing of the heap, but the meat of the change that moved
state from file local statics into a single global object also seems to
hurt.
I briefly investigated whether simply /GL+/LTCG would recover the
difference, but it does not.
Before combining:
/Ox: 2.8s
/Ox /GL: 2.35s
After combining:
/Ox: 3.2s
/Ox /GL: 2.75s
That is, /GL can make up for what was lost, but it also makes the
non-combined version faster too.
This change fixes the memset bug, but the next step is to revert this
one and its predecessor (the state combining change), and work on
getting a better (longer running) benchmark. Then we can go back to
figuring out the embedding/error reporting situation with that
available.
0 commit comments