Skip to content

2.0.0-beta.2 - Performance Enhancement

Pre-release
Pre-release
Compare
Choose a tag to compare
@rakuyoMo rakuyoMo released this 15 Jun 09:39
· 154 commits to master since this release

In this version, I borrowed the handling of JSON formatting from the Swift Core Foundation framework. Greatly improved the performance of json parsing.

We previewed 3.8k lines of json on iPhone 13 Simulator running iOS 15.5 using version 1.3.6 and version 2.0.0-beta.2 respectively.

After testing, the processing time was reduced from an average of 0.77 seconds to 0.34 seconds, a performance improvement of about 55%.

Change

We have refactored the entire content of parsing and rendering, so if you are using that part, then you may need to modify your entire code.

However, in the UI layer, we have not modified anything. This allows you to enjoy excellent performance improvements without making any changes if you only use this framework through JSONPreview.