Преглед изворни кода

add reference links to benchmarks

Evan You пре 10 година
родитељ
комит
45e1af4dae
2 измењених фајлова са 6 додато и 2 уклоњено
  1. 3 2
      benchmarks/big-table/index.html
  2. 3 0
      benchmarks/dbmon/index.html

+ 3 - 2
benchmarks/big-table/index.html

@@ -10,14 +10,15 @@
   <body>
     <div id="el">
       <h1>Rendering Dynamic Big Table</h1>
+      <p>Reference: <a href="http://insin.github.io/ui-lib-samples/large-datasets/index.html">insin/ui-lib-samples/large-datasets</a></p>
 
       <p>
         <span>{{ rows }} x {{ cols }}, {{ optimized ? 'with' : 'without' }} optimization. {{ msg }}</span>
       </p>
 
       <p>
-        <button v-if="optimized" @click="loadBase">Base version</button>
-        <button v-else @click="loadOptimized">Optimized version (Object.freeze)</button>
+        <button v-if="optimized" @click="loadBase">Disable optimization</button>
+        <button v-else @click="loadOptimized">Enable optimization (Object.freeze)</button>
         <button @click="unmount">Unmount</button>
         <button @click="rerender">Rerender with fresh data</button>
       </p>

+ 3 - 0
benchmarks/dbmon/index.html

@@ -7,6 +7,9 @@
 <title>dbmon (Vue)</title>
 </head>
 <body>
+  <h2>
+    Reference: <a href="http://mathieuancelin.github.io/js-repaint-perfs/">js-repaint-perfs</a>
+  </h2>
   <div id="app">
     <table class="table table-striped lastest-data">
       <tbody>