Skip to content

Fix es5/bundled and typescript benchmark files#285

Merged
ZihanChen-MSFT merged 1 commit intomicrosoft:mainfrom
ZihanChen-MSFT:running-benchmark-ts-react
Mar 19, 2026
Merged

Fix es5/bundled and typescript benchmark files#285
ZihanChen-MSFT merged 1 commit intomicrosoft:mainfrom
ZihanChen-MSFT:running-benchmark-ts-react

Conversation

@ZihanChen-MSFT
Copy link

@ZihanChen-MSFT ZihanChen-MSFT commented Mar 19, 2026

Summary

Allow a bit more benchmark to work.

raytracer.ts is about typescript files loading. Hermes seems not being able to understand new typescript syntax, I didn't figure out why it (with such syntax) wassubmitted from the beginning. But by a little bit twisted, it works. More importantly, types are preserved, which means if types are considered by hermes, the benchmark still work with them.

If in the future hermes got improve, probably from the upstream, these branchmark changes can be reverted and verified by bench.ts.

Along with tiny fixing in bench.ts

Test Plan

Manually tested. A new benchmark sample uploaded as a result.

Microsoft Reviewers: Open in CodeFlow

@ZihanChen-MSFT ZihanChen-MSFT requested a review from a team as a code owner March 19, 2026 14:12
@ZihanChen-MSFT ZihanChen-MSFT force-pushed the running-benchmark-ts-react branch from 532f938 to c90c476 Compare March 19, 2026 21:58
@ZihanChen-MSFT ZihanChen-MSFT enabled auto-merge (squash) March 19, 2026 21:58
@ZihanChen-MSFT ZihanChen-MSFT merged commit e631f05 into microsoft:main Mar 19, 2026
13 checks passed
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