Plugin Directory

Changeset 1949947


Ignore:
Timestamp:
10/01/2018 08:58:54 PM (7 years ago)
Author:
kohashi
Message:

Updated documentation and interface

Location:
wpperformancetester/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpperformancetester/trunk/WPPerformanceTester_Plugin.php

    r1284607 r1949947  
    4040                //charting from results goes here
    4141                ?>
     42                <h2>Performance Test Results (in seconds)</h2>
    4243                <div id="chartDiv">
    4344                    <div id="legendDiv"></div>
    4445                    <canvas id="myChart" height="400" width="600"></canvas>
     46                    <p style="text-align: center; font-style: italic;">Test Type</p>
    4547                </div>
    4648                <p>* Lower (faster) time is better. Please submit your results to improve our industry average data :)</p>
     
    5153                       
    5254                        var data = {
    53                             labels: ["Math", "String", "Loops", "Conditionals", "MySql", "Server Overall", "WordPress"],
     55                            labels: ["Math (CPU)", "String (CPU)", "Loops (CPU)", "Conditionals (CPU)", "MySql (Database)", "Server Total", "WordPress Performance"],
    5456                            datasets: [
    5557                                {
     
    258260        if (!empty($options)) {
    259261            foreach ($options as $key => $arr) {
    260                 if (is_array($arr) && count($arr > 1)) {
     262                if (is_array($arr) && count($arr) > 1) {
    261263                    $this->addOption($key, $arr[1]);
    262264                }
  • wpperformancetester/trunk/readme.txt

    r1284607 r1949947  
    11=== WPPerformanceTester ===
    22Contributors: kohashi
    3 Tags: performance, admin
     3Tags: performance, admin, benchmark
    44Requires at least: 3.5
    5 Tested up to: 4.3
    6 Stable tag: 1.0
     5Tested up to: 4.9.8
     6Stable tag: 1.0.1
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3030
    3131== Changelog ==
     32= 1.0.1 =
     33
     34Updated interface to make graphs and results more clear.
     35
    3236= 1.0 =
    3337
Note: See TracChangeset for help on using the changeset viewer.