Ability to recreate yoga trees from JSON captures #1566
Reference in New Issue
Block a user
No description provided.
Delete Branch "export-D52987588"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary:
In the previous diffs we serialized the in-memory representation of a node into json. This diff exposes a
generateBenchmark
method that reads from that json executes the proper public Yoga API functions to recreate the same tree. It then calls calculate layout so that we can time that in the next diff.This diff is really only focusing on the core aspects of a yoga tree like style, children, and calculating layout; there are still more things to add coming up:
Differential Revision: D52987588
This pull request was exported from Phabricator. Differential Revision: D52987588
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This pull request has been merged in facebook/yoga@0ca15bdaaa.
Pull request closed