Clone this wiki locally
Comparing Performance across YUI Versions
We're learning towards using BenchmarkJS to run our performance tests in YUI. One of the valuable data-points to capture is the performance of a component across different YUI versions. We'll be able to capture this once components have their performance tests defined.
The test results using the
multi module were compared (running sequentially) to running these tests in separate windows (no cache) and the results were very similar. This implies that this method of comparison is pretty accurate.
If you want to compare performance of your components across different YUI versions using Benchmark, I recommend:
- using the
index.htmlin the repo as a template
- Using the
event-custom-benchmark.jsfile as a template for performance tests.
- pulling in
src/common/and referencing it from there.
This is still rough, and a work in progress, so expect changes and new developments.