Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
benchmark: require better performance during benchmark for fast browsers
Browse files Browse the repository at this point in the history
Browsers got better at the benchmark without being better in the real
life. Make benchmark more difficult. Related to #47.
  • Loading branch information
vincentbernat committed Sep 30, 2016
1 parent 62a317d commit 477b872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/receiver/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports = (function(window) {
// Record the number of frames displayed
var fps = frames / duration * 1000;
console.log('[Dashkiosk] Benchmark: ' + fps + ' fps');
if (fps > 5) {
if (fps > 25) {
document.body.classList.add('dk-fast-browser');
}

Expand Down

0 comments on commit 477b872

Please sign in to comment.