Skip to content

Fix hashing function in event name mapping in PerformanceEntryReporter#36682

Closed
rshest wants to merge 1 commit into
facebook:mainfrom
rshest:export-D44462195
Closed

Fix hashing function in event name mapping in PerformanceEntryReporter#36682
rshest wants to merge 1 commit into
facebook:mainfrom
rshest:export-D44462195

Conversation

@rshest
Copy link
Copy Markdown
Contributor

@rshest rshest commented Mar 28, 2023

Summary:

Changelog:

[Internal][Fix] - Fix hashing function in event name mapping in PerformanceEntryReporter

A textbook mistake, when mapping event names via the constant lookup table, only the first 8 characters were effectively taken into account, thus mixing names of some events.

Reviewed By: rubennorte

Differential Revision: D44462195

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Mar 28, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D44462195

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Mar 28, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,519,695 +0
android hermes armeabi-v7a 7,835,808 +0
android hermes x86 8,998,621 +0
android hermes x86_64 8,854,901 +0
android jsc arm64-v8a 9,140,861 +0
android jsc armeabi-v7a 8,333,000 +0
android jsc x86 9,194,547 +0
android jsc x86_64 9,453,640 +0

Base commit: a83c192
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D44462195

@rshest rshest force-pushed the export-D44462195 branch from c8921ef to 52e0306 Compare March 28, 2023 15:14
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D44462195

@rshest rshest force-pushed the export-D44462195 branch from 52e0306 to c2f2538 Compare March 28, 2023 15:20
facebook#36682)

Summary:
Pull Request resolved: facebook#36682

## Changelog:

[Internal][Fix] - Fix hashing function in event name mapping in PerformanceEntryReporter

A textbook mistake, when mapping event names via the constant lookup table, only the first 8 characters were effectively taken into account, thus mixing names of some events.

Reviewed By: rubennorte

Differential Revision: D44462195

fbshipit-source-id: d8845e74aa77b20d0fc66d3689836ca17a7213d5
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D44462195

@rshest rshest force-pushed the export-D44462195 branch from c2f2538 to 3c8ebe4 Compare March 28, 2023 15:53
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 28, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 9ccf85e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants