mozilla / releases_insights

Parse various sources (hg log, apis, crashes…) to get some insights on past releases such as uplifts per beta, top crash signatures per nightly…
Mozilla Public License 2.0
25 stars 8 forks source link

Rewrite Cache library to not serialize data #57

Open pascalchevrel opened 4 months ago

pascalchevrel commented 4 months ago

When we wrote the Cache library for Transvision 15 years ago (PHP 5), it dealt with multiple data sources and PHP serializing was very performant and was a reason to serialize data.

fx-trains only needs to cache JSON and performance of PHP 8 with JSON is not an issue. Rewriting the library to only deal with JSON should:

Testing with a simplified Cache2 fork on a single view should be a good test field, like the new beta view.