diff options
| author | Devine Lu Linvega <aliceffekt@gmail.com> | 2018-09-15 15:30:17 +1200 |
|---|---|---|
| committer | Devine Lu Linvega <aliceffekt@gmail.com> | 2018-09-15 15:30:17 +1200 |
| commit | e13209deb0371f758e5092e37a27ebb0a2911d73 (patch) | |
| tree | a756761db7b0022fd3479f9a48756a1d89e2200b /benchmark | |
| parent | e098cdc4e084fccee3124b943b9751be69870465 (diff) | |
*
Diffstat (limited to 'benchmark')
| -rw-r--r-- | benchmark/index.html | 8 | ||||
| -rw-r--r-- | benchmark/scripts/benchmark.js | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/benchmark/index.html b/benchmark/index.html index eee1d2f..4a4fad2 100644 --- a/benchmark/index.html +++ b/benchmark/index.html @@ -12,10 +12,10 @@ <body> <div id='benchmark'> <table> - <tr><td class='bg f_high'>bg f_high</td><td class='b_low f_high'>b_low f_high</td><td class='b_med f_high'>b_med f_high</td><td class='b_high f_high'>b_high f_high</td></tr> - <tr><td class='bg f_med'>bg f_med</td> <td class='b_low f_med'>b_low f_med</td> <td class='b_med f_med'>b_med f_med</td> <td class='b_high f_med'>b_high f_med</td></tr> - <tr><td class='bg f_low'>bg f_low</td> <td class='b_low f_low'>b_low f_low</td> <td class='b_med f_low'>b_med f_low</td> <td class='b_high f_low'>b_high f_low</td></tr> - <tr><td class='b_inv f_inv'>b_inv f_inv</td></tr> + <tr><td class='bg f_high'>bg:f_high</td><td class='b_low f_high'>b_low:f_high</td><td class='b_med f_high'>b_med:f_high</td><td class='b_high f_high'>b_high:f_high</td></tr> + <tr><td class='bg f_med'>bg:f_med</td> <td class='b_low f_med'>b_low:f_med</td> <td class='b_med f_med'>b_med:f_med</td> <td class='b_high f_med'>b_high:f_med</td></tr> + <tr><td class='bg f_low'>bg:f_low</td> <td class='b_low f_low'>b_low:f_low</td> <td class='b_med f_low'>b_med:f_low</td> <td class='b_high f_low'>b_high:f_low</td></tr> + <tr><td class='b_inv f_inv'>b_inv:f_inv</td></tr> </table> </div> <pre id='print'></pre> diff --git a/benchmark/scripts/benchmark.js b/benchmark/scripts/benchmark.js index 654f23b..14246b9 100644 --- a/benchmark/scripts/benchmark.js +++ b/benchmark/scripts/benchmark.js @@ -2,14 +2,14 @@ function Benchmark() { this.matches = function() { - var a = [{id:`f_inv:b_inv`,fc:theme.active.f_inv,bc:theme.active.b_inv}] + var a = [{id:`b_inv:f_inv`,fc:theme.active.f_inv,bc:theme.active.b_inv}] for(let fid in theme.active){ if(fid.substr(0,1) != "f" || fid.indexOf("_inv") > -1){ continue; } let fc = theme.active[fid] for(let bid in theme.active){ if(bid.substr(0,1) != "b" || bid.indexOf("_inv") > -1){ continue; } let bc = theme.active[bid] - a.push({id:`${fid}:${bid}`,fc:fc,bc:bc}) + a.push({id:`${bid}:${fid}`,fc:fc,bc:bc}) } } return a; |
