Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html>

<head>
  <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>

  <script language="javascript" type="text/javascript" src="https://cdn.rawgit.com/p8952/p8952.github.io.old/42338848/statics/js/jquery.flot.min.js"></script>

  <script language="javascript" type="text/javascript" src="https://cdn.rawgit.com/p8952/p8952.github.io.old/42338848/statics/js/jquery.flot.axislabels.js"></script>

  <script language="javascript" type="text/javascript" src="https://cdn.rawgit.com/p8952/p8952.github.io.old/42338848/statics/js/jquery.flot.tickrotor.js"></script>

  <script language="javascript" type="text/javascript" src="https://cdn.rawgit.com/p8952/p8952.github.io.old/42338848/statics/js/jquery.flot.navigate.js"></script>
</head>

<body>
  <p>
    <h4>Percentage faster/slower than baseline (Lower is better)
    </h4>
    </center>
    <div class="graph-percent-container">
      <div class="graph-percent-plot" id="graph-percent-plot"></div>
      <p class="graph-percent-options" id="graph-percent-options"></p>
    </div>
  </p>
</body>

</html>
              
            
!

CSS

              
                .graph-percent-container {
  width: 800px;
  height: 600px;
}

.graph-percent-plot {
  width: 80%;
  height: 100%;
  float: left;
}

.graph-percent-options {
  width: 20%;
  float: right;
}

              
            
!

JS

              
                $(function() {
  var datasets = {
    "percent_gcc_4.4_O2": {
      label: "GCC 4.4 O2",
      data: [
        [1, 1.6994922287570091],
        [2, -1.502371658862259],
        [3, -2.822571693050506],
        [4, 0.5429238511953685],
        [5, 0.04470906440363365],
        [6, 1.503736999590302],
        [7, 1.7241125944786262],
        [8, -0.4694862136419289],
        [9, 1.6074464606350887],
        [10, -5.017620254225221],
        [11, -1.386905679403867],
        [12, 1.2654160113721389],
        [13, -8.155156214902618],
        [14, 3.058880652544076],
        [15, 2.5795395621091473],
        [16, -0.9075880208243774],
        [17, -3.7055968125441154],
        [18, -3.971015481392385],
        [19, -3.9830281393187903],
        [20, 8.429076867175382],
        [21, 7.7776680101029285],
        [22, 8.000176344757378],
        [23, 1.0154217034565391],
        [24, 1.319178733106611],
        [25, 1.3049258534236827],
        [26, 4.883351887499316],
        [27, 8.755020667765478],
        [28, 2.685848475916643],
        [29, 5.697728152885716],
        [30, 6.051098681406074],
        [31, 4.904226950367786],
        [32, 6.202139102327408],
        [33, 6.700354139193323],
        [34, 4.215018284154411],
        [35, 1.6356035006364351],
        [36, 2.9376984455837345],
        [37, -0.9599379503144547],
        [38, -0.002180602449300295],
        [39, 0.6641557818930437],
        [40, -4.225921068727061],
        [41, -0.008856245973944965],
        [42, 0.2523657653415796],
        [43, 0.5685807720708738],
        [44, 9.079398100240567],
        [45, 9.509941636514199],
        [46, 8.681815295039996],
        [47, 7.509053220617673],
        [48, 3.377177447590924],
        [49, 10.805721376880456],
        [50, 7.400995001288962],
        [51, -2.564854460384396],
        [52, -2.701578783222047],
        [53, 3.1478828850862897],
        [54, -3.726840796345371],
        [55, 0.8688644587890479],
        [56, 1.9570273365251865],
        [57, 5.040641659332138],
        [58, 0.14434427056360732],
        [59, 1.1213807093449049],
        [60, -3.1235007380586666],
        [61, 3.423635738850834],
        [62, -0.8005348612963701],
        [63, -0.14334095271030378],
        [64, -4.9859608855526005],
        [65, -2.765110860546031],
        [66, 9.930686011028158],
        [67, -0.36667785116618745],
        [68, -0.5958260994899831],
        [69, 3.5464032870319926],
        [70, 1.8757362875503532],
        [71, -2.9409198078575542],
        [72, 0.5741814578016999],
        [73, -1.048512350557985],
        [74, -1.306523425348999],
        [75, 2.2210095481706844],
        [76, -0.6720032459024594],
        [77, -1.7641857939839696],
        [78, -3.136848648263836],
        [79, 2.272532802707758],
        [80, 1.2768677496729453],
        [81, 1.1273735350958844],
        [82, -0.3036680495485058],
        [83, -4.164993336727022],
        [84, 0.6900398788632458],
        [85, -0.2121344771696414],
        [86, 6.8070379924378415],
        [87, 3.497848704122532],
        [88, 3.988725527219245],
        [89, 3.848603895861217],
        [90, -2.1586353061496197],
        [91, -1.5754816727876886],
        [92, 1.0959687942566632],
        [93, 0.9342870335836437],
        [94, 3.178007841068137],
        [95, 5.164437799628985],
        [96, 9.583008915692375],
        [97, 3.082689093519292],
        [98, 1.1029378802702894],
        [99, -1.858004182513838]
      ]
    },
    "percent_gcc_4.4_O3": {
      label: "GCC 4.4 O3",
      data: [
        [1, -0.6759867637584307],
        [2, 2.1844186673804558],
        [3, -1.559074382871188],
        [4, 0.8479323841279012],
        [5, 0.9127564833419655],
        [6, 2.1269501242788635],
        [7, 1.9146698762273502],
        [8, 25.649858178661262],
        [9, 1.4071042947443573],
        [10, -4.73210179394728],
        [11, -2.7538358057556422],
        [12, 0.5738758337552525],
        [13, -8.748225459410676],
        [14, -1.056294171692656],
        [15, -0.4996873304754388],
        [16, -1.751671452622432],
        [17, -4.178737450177579],
        [18, -3.500839561341536],
        [19, -4.133765448730216],
        [20, 0.736049917500182],
        [21, 1.5281762514942443],
        [22, 1.5785934392247327],
        [23, -2.76467494952027],
        [24, 2.9728374495575594],
        [25, 1.1257661052114258],
        [26, 4.990511649353181],
        [27, 0.07848551413627547],
        [28, 6.958418159761706],
        [29, 5.033238217160047],
        [30, 2.442861823930002],
        [31, 3.1054132427724],
        [32, 4.820286528936094],
        [33, 5.215413067795495],
        [34, 5.7668099658703085],
        [35, 1.157334987414302],
        [36, 2.6926675386923336],
        [37, 1.9834218630479228],
        [38, 3.6933159643139106],
        [39, 1.0682915701771378],
        [40, -4.724042091368673],
        [41, -0.7581095878402806],
        [42, -1.796845883837321],
        [43, 0.2900351837595849],
        [44, 6.650879604699185],
        [45, 5.788459766698637],
        [46, 4.906903296245545],
        [47, 5.3665532623594885],
        [48, 2.3398936777814896],
        [49, 9.513360233110603],
        [50, 5.5243066193573185],
        [51, -2.426857340355852],
        [52, -2.3001854125262327],
        [53, 0.9388205253286941],
        [54, 9.87779831607736],
        [55, 2.406438549748245],
        [56, 0.6411078136488584],
        [57, 4.99003814269166],
        [58, -1.9767258978016287],
        [59, -0.8738505195083519],
        [60, 3.8821437639626737],
        [61, 1.7156580623075115],
        [62, -0.9132663584609162],
        [63, -0.3317275862337823],
        [64, 2.022259814687885],
        [65, -0.07265716298969949],
        [66, 4.7768697263679485],
        [67, 2.5191469331267626],
        [68, 3.2472299718361484],
        [69, 5.966700850712087],
        [70, 9.308788739800875],
        [71, -2.9763278525649497],
        [72, 1.3268073301797614],
        [73, 0.12215141247932593],
        [74, -0.9751665890556183],
        [75, 3.99789988719796],
        [76, -0.6720032459024594],
        [77, -0.7377285267407956],
        [78, 0.24212822942880052],
        [79, 2.092173705729806],
        [80, 0.45328547473133085],
        [81, 6.6263112133597275],
        [82, 0.9258698299916546],
        [83, -2.311919224744443],
        [84, 1.14212474415325],
        [85, 1.023968228276928],
        [86, 2.5924444982082946],
        [87, 5.380930083619347],
        [88, 5.3932235328719],
        [89, 4.746176488228684],
        [90, -1.7580816605886156],
        [91, 0.571131104783845],
        [92, 0.9025660067676426],
        [93, 2.0946421485485303],
        [94, 2.894378325691676],
        [95, 1.5759675977148504],
        [96, 9.897213276580999],
        [97, 3.3571938815318845],
        [98, 2.0462025103214643],
        [99, -3.5309939063404414]
      ]
    },
    "percent_gcc_4.7_O2": {
      label: "GCC 4.7 O2",
      data: [
        [1, 0.22446562727512287],
        [2, 4.504747699096939],
        [3, 5.132230378335592],
        [4, -0.9672377082739843],
        [5, 0.3385325319700456],
        [6, 0.46667184077979584],
        [7, 0.51224953514199],
        [8, -1.576124308726392],
        [9, 0.02463925873261985],
        [10, -6.474129994351998],
        [11, -0.839969741085028],
        [12, 0.16082906438529676],
        [13, 4.839185700056348],
        [14, 4.10784112222882],
        [15, 2.8581702986170825],
        [16, 2.149062106891904],
        [17, 0.5947180226017394],
        [18, 0.2620373023811027],
        [19, 0.47908726527174395],
        [20, 3.0199604420406274],
        [21, 2.8664527235815456],
        [22, 2.9543734202210032],
        [23, 2.3133902965527966],
        [24, -1.0068403721306396],
        [25, -2.7600377645953387],
        [26, -8.225489751143883],
        [27, 5.2349305296189925],
        [28, -3.1759739525826944],
        [29, -1.063356066146639],
        [30, -2.4333710842219602],
        [31, -0.529706510660958],
        [32, -0.6494702215733383],
        [33, -2.151969793668613],
        [34, -1.2476705620066184],
        [35, -1.1418411253104637],
        [36, -0.03194237695413449],
        [37, 0.22920518688955838],
        [38, -0.16477830383607284],
        [39, 1.2413949364031112],
        [40, -3.7124382327087204],
        [41, 1.745958012747991],
        [42, -0.641698959170526],
        [43, 6.5323973037427265],
        [44, -0.06281017688468182],
        [45, -3.099109030952391],
        [46, -2.1366786323209794],
        [47, -0.3660638836215355],
        [48, 0.8380916637561313],
        [49, -10.456416873799185],
        [50, 0.059088961724398814],
        [51, 0.38766701846964224],
        [52, 0.3786209296807215],
        [53, 0.332801764161033],
        [54, -1.9241582859169597],
        [55, 0.12729195197371723],
        [56, 0.6393510013199091],
        [57, -0.22298856371780573],
        [58, -3.190543436399608],
        [59, -1.4798059379144206],
        [60, 1.2446555663117067],
        [61, 3.950904644621488],
        [62, -1.305520614909753],
        [63, -1.3345355336079194],
        [64, 17.123374316061685],
        [65, 1.560461647904802],
        [66, -3.2652043598611016],
        [67, 0.33094257602871835],
        [68, 0.5931128991636143],
        [69, -0.27607781110025087],
        [70, -1.3056640442159875],
        [71, -0.4186000027083736],
        [72, 1.3075167392129714],
        [73, -0.49247469918142883],
        [74, -1.1001970114964479],
        [75, 1.3508755078148482],
        [76, -1.0270238286433937],
        [77, 0.14070131879888947],
        [78, 0.7715109326204725],
        [79, -2.201230285460838],
        [80, -4.366961186383023],
        [81, -2.956699472162228],
        [82, 1.327940598969036],
        [83, -0.8003265744162036],
        [84, 0.914030779731732],
        [85, 0.5414356074755062],
        [86, -2.2111205434519263],
        [87, -3.7245600774403584],
        [88, -3.7918812126686987],
        [89, -3.0899777703378817],
        [90, -2.286326279987577],
        [91, -0.45544968280805165],
        [92, -0.45910180443755166],
        [93, -0.3544627268099845],
        [94, -0.5336859654358648],
        [95, -0.5406383513564066],
        [96, -2.6307265238224318],
        [97, 8.424881666070576],
        [98, 3.053953583026825],
        [99, -0.3637015762041642]
      ]
    },
    "percent_gcc_4.7_O3": {
      label: "GCC 4.7 O3",
      data: [
        [1, 1.9333440173571006],
        [2, -1.7547845303074183],
        [3, 5.712429625498487],
        [4, 1.9994461232009115],
        [5, 0.3862407319202674],
        [6, 0.6245594573312161],
        [7, 0.20445977570211937],
        [8, -5.555262139716135],
        [9, -0.12213080755572037],
        [10, -6.638462035544578],
        [11, 1.362233506680525],
        [12, 0.6909589387719848],
        [13, -5.794847730721514],
        [14, 4.568630695546176],
        [15, 6.070864232886279],
        [16, 0.729335085825312],
        [17, 12.099839275747442],
        [18, 12.28810407890883],
        [19, 12.546869296679517],
        [20, -3.4613607996995484],
        [21, -4.083847232448008],
        [22, -4.0848749753375415],
        [23, 1.7737810977828588],
        [24, 1.4401673358314326],
        [25, -2.842053400348462],
        [26, 1.71681180983893],
        [27, -3.715349634762802],
        [28, -3.055719945956838],
        [29, -1.640637306652394],
        [30, -3.7765381686200357],
        [31, -0.6603276349254656],
        [32, -2.707307893123726],
        [33, -1.9527104231966916],
        [34, -1.3095620952484524],
        [35, -1.0099385414619348],
        [36, 0.07072708304912112],
        [37, -0.4980464426017477],
        [38, 0.7106955293120478],
        [39, 1.29063946163906],
        [40, 5.839480429334216],
        [41, -1.566263233384248],
        [42, -0.6930637655672314],
        [43, -0.759186897950201],
        [44, -0.1472245615108818],
        [45, -3.55065809684271],
        [46, -1.829039593105108],
        [47, 1.4456452498546213],
        [48, 3.6981107301568414],
        [49, 8.415270408398712],
        [50, 4.273535223800366],
        [51, 0.5582053557283189],
        [52, 0.4990773681923457],
        [53, 0.5245394054402794],
        [54, -3.8249603068729527],
        [55, -0.641840757494279],
        [56, 2.2044308148808653],
        [57, 0.7900934456892372],
        [58, -0.6008750360460482],
        [59, 0.4167947571778683],
        [60, -3.2063083145095277],
        [61, 5.248746940329042],
        [62, 0.04127856952302977],
        [63, -0.26439224679459983],
        [64, 4.466892243887514],
        [65, 1.6746563595711592],
        [66, 7.3536078134913225],
        [67, 1.2123989827035615],
        [68, 1.1371778751419157],
        [69, -0.5697100535303434],
        [70, -1.6880922270628673],
        [71, -0.3557627546036173],
        [72, 1.1280931481586691],
        [73, -0.45378420654091656],
        [74, -0.7926021521709998],
        [75, -8.15552191993359],
        [76, 3.893674153092789],
        [77, 0.64770778283021],
        [78, 0.7884053081696152],
        [79, -4.084384656130126],
        [80, -4.13269522857351],
        [81, -3.0211398536805376],
        [82, 2.1434136391044376],
        [83, -1.1139721585679325],
        [84, 0.027163765568289477],
        [85, 2.581999152522485],
        [86, -1.8781761176431644],
        [87, -3.4021092110832427],
        [88, -3.774074827500513],
        [89, -3.7732629275659093],
        [90, -1.318540998066581],
        [91, -0.9928628513711146],
        [92, -1.6995459040551708],
        [93, 1.1362276449214903],
        [94, 0.08906661906911495],
        [95, 1.0222133696886857],
        [96, -3.212932357103611],
        [97, 3.3919093022261677],
        [98, 3.3289484445780886],
        [99, -1.4151675346000587]
      ]
    },
    "percent_gcc_4.8_O2": {
      label: "GCC 4.8 O2",
      data: [
        [1, 0.2846552106892801],
        [2, 2.980282086694757],
        [3, -2.3326387638097827],
        [4, -2.000615961493395],
        [5, -0.27260178194443085],
        [6, -1.4315416362305484],
        [7, -1.2537129990122509],
        [8, -7.324025200762108],
        [9, 1.2875418143348156],
        [10, -5.151964920419587],
        [11, -0.14038704532190138],
        [12, 3.740095978338843],
        [13, 2.7900079652475966],
        [14, -2.3389431023150564],
        [15, -2.6405660074374566],
        [16, -2.3966705130385577],
        [17, 4.4044600658912145],
        [18, 4.567680659630938],
        [19, 4.9216991440868725],
        [20, 1.9468652964006026],
        [21, 2.51727807366791],
        [22, 2.5694034349745607],
        [23, 0.8229164979528747],
        [24, -3.702731579133882],
        [25, -3.546438031779772],
        [26, 0.5263923932127454],
        [27, -4.291260737741695],
        [28, -3.2610687276982446],
        [29, -3.591731285593042],
        [30, -2.9367975249232643],
        [31, -2.6142594459313244],
        [32, -2.967222756245377],
        [33, -0.8606888403400177],
        [34, -3.9921821798611887],
        [35, 0.020516291859152602],
        [36, 0.11369030681447612],
        [37, -0.8054855342090121],
        [38, -1.8971563192049672],
        [39, 1.019003001753859],
        [40, 11.011290932831884],
        [41, 3.556290646912913],
        [42, 1.7689133665183476],
        [43, -5.1013286598728484],
        [44, -3.349967488546838],
        [45, -3.553480694394125],
        [46, -3.4415412099802296],
        [47, -0.38582698056917764],
        [48, -2.831851691629538],
        [49, 6.407643017754012],
        [50, -3.9782240570506673],
        [51, 0.7440036345937528],
        [52, 0.6352941374224912],
        [53, -1.3184728040922664],
        [54, -5.161554129893673],
        [55, 0.3216387102667966],
        [56, 2.4870147621299594],
        [57, -2.117731333120659],
        [58, 5.233175979259926],
        [59, -0.8364896792173795],
        [60, -3.4727037837383676],
        [61, 1.3888266801448168],
        [62, 3.1574701502111537],
        [63, -0.3727032731562048],
        [64, 0.9049782297124551],
        [65, 1.3940887210667654],
        [66, 6.046700074361652],
        [67, -0.8831530442864022],
        [68, -0.36029826208466886],
        [69, -2.055630401225301],
        [70, -0.9982053768265615],
        [71, 1.5368364345775802],
        [72, -0.7119386301642407],
        [73, 1.2209614034699712],
        [74, 5.906511675444577],
        [75, 15.664025592725423],
        [76, 1.429944013817618],
        [77, 2.736349613673511],
        [78, 2.86019885879152],
        [79, 10.00966505893534],
        [80, 11.264923182526104],
        [81, -2.288654504906461],
        [82, -1.8179258378666958],
        [83, 0.9788675396005857],
        [84, -1.0005249912745313],
        [85, -0.44380407319540893],
        [86, -2.3562146916609805],
        [87, 1.0360856548831805],
        [88, -0.20503386355404984],
        [89, 0.36401327242762704],
        [90, -3.9333331603893953],
        [91, 1.8385269580883659],
        [92, 1.5428541240732443],
        [93, 1.6330901423038569],
        [94, 1.9707281400832812],
        [95, 1.9676933248282467],
        [96, -3.903359906002507],
        [97, -1.2178683380155775],
        [98, -1.314567760600454],
        [99, -2.930479282997993]
      ]
    },
    "percent_gcc_4.8_O3": {
      label: "GCC 4.8 O3",
      data: [
        [1, -0.1166894499071418],
        [2, -1.2347929387243397],
        [3, -2.6551144203987462],
        [4, -0.6766740886980216],
        [5, -1.700737757306456],
        [6, -2.153752818033425],
        [7, -2.193788948091324],
        [8, -3.833508224724241],
        [9, -0.2735726549667419],
        [10, -5.651099449183604],
        [11, -2.468591028950314],
        [12, 2.6156488077718905],
        [13, 2.0785188403046106],
        [14, 6.024754662465412],
        [15, 6.0393985797605865],
        [16, -0.9559496493965582],
        [17, -5.0164789329976],
        [18, -3.4412646429923512],
        [19, -3.036744010423419],
        [20, 8.866910945980734],
        [21, 10.74534016928861],
        [22, 10.86975097611959],
        [23, 1.033107033289454],
        [24, -0.16031462549418052],
        [25, -3.302344932344809],
        [26, 0.5824407616976686],
        [27, -4.360175171311241],
        [28, -1.3177073501633032],
        [29, -2.3061230547410787],
        [30, -1.0534264967749607],
        [31, -2.5940905564809214],
        [32, -1.2315467326863683],
        [33, -4.251588515050514],
        [34, -3.153484598921537],
        [35, -0.32977173916833635],
        [36, -0.42190937839077947],
        [37, 1.1054432414853324],
        [38, -1.1878886210629105],
        [39, -0.3480004180822931],
        [40, -1.323107296576893],
        [41, 4.697272487322508],
        [42, 1.5994491572089942],
        [43, -4.82125069314597],
        [44, -0.5704255669133147],
        [45, 0.07758601690912315],
        [46, 1.1770669312792847],
        [47, -0.07657584138513585],
        [48, 0.3285212177397341],
        [49, 4.714540059961365],
        [50, 0.422007243589789],
        [51, 0.6226669637715787],
        [52, 0.7251937867583536],
        [53, -1.3846419697155454],
        [54, 20.236068448542625],
        [55, 2.430931438834463],
        [56, 1.122919018647778],
        [57, -0.6089568156497762],
        [58, 3.1611321550664115],
        [59, -1.3504551823600792],
        [60, -1.4536171731576246],
        [61, -0.77228467179809],
        [62, 5.337854497264388],
        [63, -0.21777833485546694],
        [64, -6.1264839748561855],
        [65, -0.9211384171864978],
        [66, -5.27128269980021],
        [67, -2.4107042056157297],
        [68, -3.3180169922578813],
        [69, -2.517792418649279],
        [70, -0.9976303799672621],
        [71, 1.3168369946402976],
        [72, -1.3158025992657087],
        [73, 0.14647115071051076],
        [74, 1.0882882172888344],
        [75, 2.9321725701960446],
        [76, 1.6080178299226162],
        [77, -1.1533092408250525],
        [78, -1.894229262765137],
        [79, 7.91232377979523],
        [80, 6.451580448384092],
        [81, 1.5741469747503345],
        [82, -2.8766498254475152],
        [83, 0.6228551503858881],
        [84, -1.0824874228514858],
        [85, -0.9619500390674034],
        [86, -3.044458735111135],
        [87, -2.6005068558422977],
        [88, -2.170886571474057],
        [89, -2.372331914569685],
        [90, -4.192687621542348],
        [91, 1.30046249234978],
        [92, 0.6713577128395514],
        [93, 5.84275794476747],
        [94, 5.271255472721563],
        [95, 1.0744332393899754],
        [96, -4.33194775787446],
        [97, -0.4915419689438494],
        [98, -0.5759524944406564],
        [99, -2.654453379516184]
      ]
    },
    "percent_gcc_4.9_O2": {
      label: "GCC 4.9 O2",
      data: [
        [1, -0.9650236734311051],
        [2, -1.9280463334241205],
        [3, -0.9715045937587377],
        [4, -1.5906332347055923],
        [5, -0.6824993106433226],
        [6, -1.5261362312630808],
        [7, -1.492022818870268],
        [8, -6.966654529808963],
        [9, -1.5752915636938383],
        [10, 7.575225147897129],
        [11, 0.30386101847832947],
        [12, -2.737502740096872],
        [13, 0.9604909928770979],
        [14, -1.969928229979871],
        [15, -2.6418646807017723],
        [16, -0.2989252245837406],
        [17, -2.3121101472464574],
        [18, -3.043710372870663],
        [19, -3.070402350052646],
        [20, -5.442216307626595],
        [21, -5.451473941063014],
        [22, -5.468952268194727],
        [23, -0.027778711277420598],
        [24, -3.267348443900488],
        [25, -1.7134857709454536],
        [26, 1.9538260926287023],
        [27, -2.8394140265339445],
        [28, 0.08835948356787071],
        [29, -0.09186651875359075],
        [30, 1.8050803702099643],
        [31, -1.2348366487939444],
        [32, -1.9677412291281655],
        [33, 2.315327812172214],
        [34, 1.256499610551117],
        [35, -0.5939572647187674],
        [36, -5.24320778265961],
        [37, -0.891689403458841],
        [38, -0.6326987115955092],
        [39, -1.022928646394405],
        [40, -6.094088262152212],
        [41, -1.5692469623827492],
        [42, -0.7887290273310441],
        [43, -2.676139722037476],
        [44, -1.361515943953279],
        [45, -0.2172151243239],
        [46, -1.1736093811855568],
        [47, -2.586338397339915],
        [48, -3.553228484636122],
        [49, -4.136532055864265],
        [50, -3.6014889346845536],
        [51, 0.2843395232769126],
        [52, 0.410056551084395],
        [53, -0.45812347629701833],
        [54, -17.87818225467943],
        [55, -1.4407354718682654],
        [56, -3.0637151787623793],
        [57, -1.6065713104850232],
        [58, -2.998694106137407],
        [59, 1.8694094332853268],
        [60, 4.645752144716923],
        [61, -1.4604657532765657],
        [62, 3.5428420035072463],
        [63, -0.8459882996848194],
        [64, 2.214701054792286],
        [65, -0.7287424733907812],
        [66, -0.7867099776002817],
        [67, -1.0824653622394322],
        [68, -1.0296369964849816],
        [69, -1.49193894321985],
        [70, -1.8883609318349954],
        [71, 0.6057351969026996],
        [72, -1.3438075554836075],
        [73, 0.45599509183462317],
        [74, -1.6363072521339461],
        [75, -7.8234182512378965],
        [76, -2.0887044284591383],
        [77, -1.3223113955021688],
        [78, -2.4792147652731273],
        [79, -5.83376621570136],
        [80, -4.345503959285949],
        [81, -0.8015686255196641],
        [82, -0.5494540955126297],
        [83, -2.6503983367856137],
        [84, 0.3155455294256342],
        [85, -0.08791418566583786],
        [86, -1.4740078158875747],
        [87, -0.8240428118873666],
        [88, -0.6300185171575663],
        [89, -0.6863579061025007],
        [90, 3.542279563124808],
        [91, -2.151355943321761],
        [92, -3.6270390615775625],
        [93, -0.08316495036712013],
        [94, -1.6552198192659802],
        [95, -6.565479776861309],
        [96, -1.0625279891635415],
        [97, -0.8483979274416384],
        [98, -1.8669849832556196],
        [99, -2.875038727402867]
      ]
    },
    "percent_gcc_4.9_O3": {
      label: "GCC 4.9 O3",
      data: [
        [1, -0.9393697458527441],
        [2, -0.7363588450564862],
        [3, 1.9353044964668982],
        [4, -0.6847462511210978],
        [5, -1.4011038826435396],
        [6, -1.1265952146929692],
        [7, -2.1228317491498814],
        [8, 3.7365647772184474],
        [9, -0.9282860537835944],
        [10, 4.985611452362491],
        [11, 1.4025548527514644],
        [12, -1.5463014286312529],
        [13, -1.1558936183567994],
        [14, -0.478138470629176],
        [15, 0.8068204071705765],
        [16, -0.30172380730721216],
        [17, 0.5360252615403738],
        [18, 0.5583770324672344],
        [19, 0.4753300016955535],
        [20, -3.7717898429973786],
        [21, -3.6765597812603517],
        [22, -3.7972426208963412],
        [23, -0.720044248313755],
        [24, 0.11357248422601174],
        [25, 18.440125602283075],
        [26, 2.2838881909977857],
        [27, -2.7543099914698104],
        [28, 2.3366399006969942],
        [29, -0.8669716074768417],
        [30, 0.167953732557379],
        [31, 0.4521134069376984],
        [32, -0.06848325830607394],
        [33, -1.2896461700793793],
        [34, -1.4735727594377153],
        [35, -0.9164756348201166],
        [36, -4.090909327477746],
        [37, -0.4510205982359139],
        [38, -0.9444020450345363],
        [39, 0.09806851989220888],
        [40, -5.084191271645238],
        [41, -10.25021982763964],
        [42, -1.1138363901496717],
        [43, 1.3557452262639345],
        [44, -2.352835615758721],
        [45, -1.645398496268669],
        [46, -1.167528394173047],
        [47, -2.812464251502405],
        [48, -1.4607050424595087],
        [49, -18.213354105261743],
        [50, -3.6675927312673764],
        [51, 0.3483028882198056],
        [52, 0.3142234577948386],
        [53, 1.0281531892444065],
        [54, -6.240495565444704],
        [55, -0.735302326090931],
        [56, -2.073179900355669],
        [57, -1.6295083420829428],
        [58, -0.5930014755039963],
        [59, 1.6779560402849398],
        [60, -4.703213596898834],
        [61, -3.2277733756538964],
        [62, -1.6864477649738348],
        [63, 2.068029924754171],
        [64, -6.309843098633351],
        [65, -1.6262327717564204],
        [66, -4.040637356291938],
        [67, -0.07654247834629757],
        [68, -0.7059548210561672],
        [69, -1.555180097750636],
        [70, -1.9536628898644466],
        [71, 0.4441879340614179],
        [72, -1.4196780477621331],
        [73, 1.0020837593893503],
        [74, -3.259510063944063],
        [75, -8.837242740249579],
        [76, -0.0724129283844519],
        [77, 0.03161263582143192],
        [78, 0.33665493256829393],
        [79, -0.14519592348875676],
        [80, 1.3608775016094086],
        [81, -1.0687661825075594],
        [82, -0.9804764046883747],
        [83, -0.46956987543509854],
        [84, -0.4871893528029858],
        [85, -0.9306951016459237],
        [86, -2.258454264872114],
        [87, 0.9007574888625385],
        [88, 0.8262933167747235],
        [89, 0.45104273917655746],
        [90, 9.878838142699564],
        [91, 1.548823917257323],
        [92, -0.4876537783845123],
        [93, -1.2634999582770376],
        [94, -1.1723159978657236],
        [95, -4.904988885175271],
        [96, -0.9055666450554867],
        [97, -4.0007645040228965],
        [98, -2.3332981935372032],
        [99, -2.7254959049074188]
      ]
    },
    "percent_clang_3.2": {
      label: "Clang 3.2",
      data: [
        [1, -0.3122262933137847],
        [2, 0.13487563498162558],
        [3, 0.008354564991350344],
        [4, 0.4752586440798723],
        [5, -0.9537533202117459],
        [6, -1.2408913214488848],
        [7, -0.5963685382809274],
        [8, -7.498171798337822],
        [9, 0.6606338837652004],
        [10, 7.024787885715213],
        [11, 1.424547632061163],
        [12, 0.03463040650500204],
        [13, 6.146521442167781],
        [14, -5.936441794512476],
        [15, -4.7430584229598765],
        [16, 0.23722761331346476],
        [17, 1.1995184325506898],
        [18, 1.454028980889376],
        [19, 1.3967369651325612],
        [20, -5.496194982970408],
        [21, -5.788043220263717],
        [22, -5.571060419716929],
        [23, 0.10447224303914027],
        [24, -0.09001765655693816],
        [25, -1.9100870680991449],
        [26, -7.365339107762296],
        [27, 2.419507639479974],
        [28, 0.18304459211715596],
        [29, 0.33816998564918777],
        [30, -1.4632442074898933],
        [31, -0.7808043857565963],
        [32, 0.06641702076370848],
        [33, -2.767061808771956],
        [34, -1.4193063711176706],
        [35, 0.6275544545530494],
        [36, 1.255349732796546],
        [37, 0.4759992610224373],
        [38, 1.0877229666041757],
        [39, -1.7219624502668438],
        [40, -3.499079713587534],
        [41, 3.721919406963366],
        [42, 0.8438818617448476],
        [43, 4.196777696613665],
        [44, -0.4775713165788176],
        [45, -0.8297333841893533],
        [46, -1.459892999152899],
        [47, -1.5070449473206509],
        [48, 0.8568057243885079],
        [49, 5.4663735834026],
        [50, -1.1370080949272108],
        [51, 0.7007181289190783],
        [52, 0.678772681411985],
        [53, -1.0979379983729842],
        [54, 12.251076794528458],
        [55, -0.4206364478401099],
        [56, -1.3147440362380394],
        [57, 0.6062312862548254],
        [58, -0.652568765343517],
        [59, -1.7406507707890029],
        [60, 2.072754368703201],
        [61, -1.100756790434147],
        [62, -1.401814050598034],
        [63, -0.5448378789212143],
        [64, 2.5740250399091167],
        [65, 3.3309268421952964],
        [66, -14.56723675904243],
        [67, 1.3145184922337876],
        [68, 1.5607191099033457],
        [69, 0.2575831585408537],
        [70, -1.102604714576799],
        [71, 0.7933350497922191],
        [72, -0.5380353316850943],
        [73, 0.5709611271092996],
        [74, -1.5942649980001988],
        [75, -8.349758081526588],
        [76, -0.7452614613887079],
        [77, -0.451508725589278],
        [78, -0.8629419288318303],
        [79, -6.108241699832163],
        [80, -5.147484933781456],
        [81, -0.7400871298186047],
        [82, -0.7889907960937563],
        [83, -2.190240146754519],
        [84, -0.701519814908437],
        [85, -0.6220822720953407],
        [86, -0.04956232578695108],
        [87, -2.3196680703996577],
        [88, -1.8901853230792511],
        [89, -1.4030211127196424],
        [90, 5.028881693524582],
        [91, -4.735545894513166],
        [92, -4.851922976351204],
        [93, -2.7632957892754177],
        [94, -0.5677825833796817],
        [95, 4.192657026260818],
        [96, -1.2864676586867745],
        [97, -4.091958703471988],
        [98, -1.9508417224514574],
        [99, -2.730111489542182]
      ]
    },
    "percent_clang_3.3": {
      label: "Clang 3.3",
      data: [
        [1, -1.2679354454334657],
        [2, -2.0003017515161616],
        [3, -1.5413678303840328],
        [4, -1.0403048149134406],
        [5, -1.1281604771052116],
        [6, -1.4933828798038604],
        [7, -1.491997125207149],
        [8, -1.49192746730985],
        [9, -1.0948549106197447],
        [10, 4.399941809681707],
        [11, 0.2019060364961689],
        [12, -3.140292072683579],
        [13, 3.242907282792288],
        [14, -4.021665478029021],
        [15, -4.316543624390306],
        [16, 0.21460895526364254],
        [17, -2.9138629722674665],
        [18, -3.3617928083883584],
        [19, -3.2636199791046465],
        [20, -5.416419142684859],
        [21, -5.2382393586329385],
        [22, -5.341681313007243],
        [23, -1.6710910019374978],
        [24, -0.8329556013697612],
        [25, -1.6800200449855822],
        [26, -6.478271964583342],
        [27, -2.4774692432191188],
        [28, 2.082036567825483],
        [29, -0.970794715041464],
        [30, 0.7248678360620886],
        [31, 0.5280467058219358],
        [32, -1.6492742005452214],
        [33, -0.8432292913587105],
        [34, 1.4504804279103212],
        [35, 0.542459521043952],
        [36, -3.8042448868802694],
        [37, -1.2439862647891005],
        [38, -2.2323941216135523],
        [39, -0.6324035977243909],
        [40, -3.6635080123235895],
        [41, 1.9415899791318765],
        [42, 1.5089402741208744],
        [43, -2.3040358208537555],
        [44, -2.468629555840394],
        [45, -1.181877662702675],
        [46, -1.787526410930525],
        [47, -2.144461770367485],
        [48, -0.18864679117010041],
        [49, -10.474089916420652],
        [50, 2.6118274600906375],
        [51, 0.377835774485618],
        [52, 0.3552272392720397],
        [53, -0.8936623039771519],
        [54, -19.600597390982543],
        [55, -1.2822420094709628],
        [56, -2.078992345749114],
        [57, -1.8817480935404802],
        [58, -0.5365066660645113],
        [59, 1.541304906023285],
        [60, 5.782842952752418],
        [61, -3.422216464836879],
        [62, -3.0040130252799315],
        [63, -0.0752218039729371],
        [64, 0.1850994057397486],
        [65, -0.44756878259323685],
        [66, 7.511718985225954],
        [67, 0.8302612041607915],
        [68, 0.07600346548687753],
        [69, -0.9436934947649149],
        [70, 2.4175574560725437],
        [71, 1.02024765357109],
        [72, 1.7555847138399798],
        [73, -0.6439203418028683],
        [74, 2.8671474699988977],
        [75, -6.228773329650792],
        [76, 2.70576401274694],
        [77, -1.8718694709249206],
        [78, -1.1453974498197113],
        [79, 1.9951666866499664],
        [80, 1.4606302987744186],
        [81, -0.867324820139217],
        [82, 2.5232582438476214],
        [83, 8.367059496786041],
        [84, 0.8706770982058316],
        [85, 0.2806039104951168],
        [86, 1.295908420169937],
        [87, 2.262167887506237],
        [88, 1.9577028008452686],
        [89, 1.9827395209488543],
        [90, 1.837514382306324],
        [91, 4.414369659523317],
        [92, 5.385938124817798],
        [93, -2.4872335175874554],
        [94, -2.3907407949539135],
        [95, 0.6697255843266277],
        [96, -0.32550685487223063],
        [97, -0.2682245337142035],
        [98, 0.8835538912132392],
        [99, -0.500422853140563]
      ]
    },
    "percent_clang_3.4": {
      label: "Clang 3.4",
      data: [
        [1, 0.8332019777482742],
        [2, 0.9559620141308613],
        [3, 0.9211485754784263],
        [4, 4.1967728707213325],
        [5, 5.343780188416588],
        [6, 5.735166771857166],
        [7, 6.399645417166354],
        [8, 7.302282964293568],
        [9, 0.3061321698635453],
        [10, 4.942077699017403],
        [11, 1.4932465521311826],
        [12, -1.4834637560273478],
        [13, 9.640700308157264],
        [14, -2.798964561180938],
        [15, -4.283142475280201],
        [16, 2.891824518660144],
        [17, -2.272643212220885],
        [18, -2.7655457496971962],
        [19, -3.13364319634843],
        [20, 3.8194819690348965],
        [21, 2.3054529696419763],
        [22, 2.063739648778153],
        [23, -1.107040301166549],
        [24, 5.759326926663277],
        [25, -1.8517631977534847],
        [26, 2.807674313402231],
        [27, 6.812691941080246],
        [28, -1.5934714992494037],
        [29, -0.5775614360583745],
        [30, 0.32201049294495476],
        [31, 0.6728592041142605],
        [32, 0.20310733190559915],
        [33, 0.8471129529259684],
        [34, 1.8822471909733167],
        [35, 0.6255869055279675],
        [36, 10.67884091276305],
        [37, 2.2060006809586667],
        [38, 3.040543163002596],
        [39, -1.978328152632372],
        [40, 9.250087476992832],
        [41, 0.07582192769817198],
        [42, 0.3046093631908491],
        [43, 1.6169867749907354],
        [44, -2.383734024891126],
        [45, -0.34478126899621486],
        [46, -0.31726013516887974],
        [47, -2.1549838663964493],
        [48, -0.4925343186771016],
        [49, -1.66099095974117],
        [50, -2.2331110478877747],
        [51, 0.44733539465589445],
        [52, 0.5188702058928953],
        [53, -0.8462981632461322],
        [54, 7.309339841611887],
        [55, -0.06202832630273747],
        [56, -1.5857597650597768],
        [57, -1.5981292181980535],
        [58, 2.1432291259872613],
        [59, -0.5899668083690415],
        [60, 1.4270776261663656],
        [61, -3.2736970326421044],
        [62, -1.5548279698583798],
        [63, 1.8545685246299115],
        [64, -6.08877079909081],
        [65, -0.9013616428954663],
        [66, -3.5299388071960465],
        [67, -0.16025210969311843],
        [68, 0.03310102489028566],
        [69, -0.09844539268634378],
        [70, -2.042315908676713],
        [71, 0.5594025765853274],
        [72, 0.010825203415734563],
        [73, -0.4670495183033694],
        [74, -1.160853211479676],
        [75, 11.56345656104105],
        [76, -1.5973108599669104],
        [77, 3.181636169672558],
        [78, 4.308426710643602],
        [79, -6.018961182853658],
        [80, -4.989855083010539],
        [81, 3.273037428091598],
        [82, 0.4361985986352863],
        [83, 0.9285822576768084],
        [84, -0.5890576468456885],
        [85, -0.8952115244337762],
        [86, -0.6903401298846319],
        [87, -0.7314946292225528],
        [88, -0.2792180984236836],
        [89, -0.2564657230334859],
        [90, -3.0490398729952517],
        [91, -3.4902834380835657],
        [92, -2.6193372900010132],
        [93, -3.0518255880865155],
        [94, -4.1274871526779435],
        [95, -1.719887160834503],
        [96, -0.8520065683125466],
        [97, -3.7714272910010322],
        [98, -0.6274999558873162],
        [99, 20.743862340494317]
      ]
    },
    "percent_clang_3.5": {
      label: "Clang 3.5",
      data: [
        [1, -0.6979276901300864],
        [2, -1.6036300443938956],
        [3, -1.8271959564977323],
        [4, -1.1021218141199256],
        [5, -0.8871624701978646],
        [6, -1.4847850923647883],
        [7, -1.6044150201049376],
        [8, -1.9735460371457094],
        [9, -1.299361891455888],
        [10, 4.737734452998524],
        [11, 1.401339701917962],
        [12, -0.1738950434614992],
        [13, -5.844209508211307],
        [14, 0.8402686755546256],
        [15, 0.7700694607010803],
        [16, 0.39047038781805554],
        [17, 1.5648684691227004],
        [18, 0.9539405624047816],
        [19, 0.8014804511117859],
        [20, -3.230364362153594],
        [21, -3.502204664109172],
        [22, -3.7722256669224947],
        [23, -0.7724596598581996],
        [24, -2.5448746507988176],
        [25, -1.2645873500663356],
        [26, 2.324203724858691],
        [27, -2.8626574870420995],
        [28, -1.9304057042354117],
        [29, 0.0399056347683171],
        [30, 0.14950454491949472],
        [31, -1.2486343274646146],
        [32, -0.05090369232448211],
        [33, -0.9613131296212032],
        [34, -1.9752769128661782],
        [35, -0.6170713555553107],
        [36, -4.156760267336864],
        [37, -1.1499040397948619],
        [38, -1.4707788984358814],
        [39, 0.3220699933418558],
        [40, 6.22551710993082],
        [41, -1.586156603555935],
        [42, -1.24398576206967],
        [43, 1.1014188364186737],
        [44, -2.5555634540615273],
        [45, -0.9537336614520058],
        [46, -1.452708766547488],
        [47, -2.287491794328858],
        [48, -2.9116341328413],
        [49, -0.3815247684209737],
        [50, -5.674335644034059],
        [51, 0.520637118619959],
        [52, 0.4864278382382281],
        [53, 0.026938946440353106],
        [54, 8.682505329375417],
        [55, -1.5723797705450835],
        [56, 1.064540479012166],
        [57, -1.7613708571730484],
        [58, -0.1329661475805608],
        [59, 0.2443730520419649],
        [60, -3.0958828162502385],
        [61, -2.47057797761191],
        [62, -1.4130205751285274],
        [63, 0.2079274605529804],
        [64, -5.980271346657602],
        [65, -0.4973214593800037],
        [66, -4.158572650683013],
        [67, -1.2274731369064824],
        [68, -0.6376111750486899],
        [69, -0.2622186833578155],
        [70, -1.625546010398054],
        [71, 0.41502857760393397],
        [72, -0.7737464282480744],
        [73, -0.41288282860665504],
        [74, 1.9634773408973274],
        [75, 1.665274655452336],
        [76, -2.762680010932371],
        [77, 0.5629056327695565],
        [78, 0.21130708273133791],
        [79, 0.10991792964864544],
        [80, 0.7143357353363058],
        [81, -0.8566285625632304],
        [82, -0.03951590139051575],
        [83, 2.8040552089815947],
        [84, -0.09880256726482628],
        [85, -0.2742152254966612],
        [86, 3.2669437134822203],
        [87, 0.5245918368818536],
        [88, 0.5753532361467251],
        [89, 0.188841437686051],
        [90, -1.5908688819359895],
        [91, 3.7276653508829867],
        [92, 4.145916052052186],
        [93, -1.6375223837214037],
        [94, -2.9562040850546367],
        [95, -1.9361337676108121],
        [96, -0.969179931379756],
        [97, -3.5664906767365494],
        [98, -1.7464511992372564],
        [99, 0.8400064966712364]
      ]
    }
  };

  var i = 0;
  $.each(datasets, function(key, val) {
    val.color = i;
    if (i == 10) {
      ++i;
    }
    ++i;
  });

  var choiceContainer = $("#graph-percent-options");
  $.each(datasets, function(key, val) {
    choiceContainer.append(
      "<br/><input type='checkbox' name='" +
        key +
        "' id='id" +
        key +
        "'></input>" +
        "<label for='id" +
        key +
        "'>" +
        val.label +
        "</label>"
    );
  });

  choiceContainer.find("input").click(plotAccordingToChoices);

  function plotAccordingToChoices() {
    var data = [];
    choiceContainer.find("input:checked").each(function() {
      var key = $(this).attr("name");
      if (key && datasets[key]) {
        data.push(datasets[key]);
      }
    });
    $.plot("#graph-percent-plot", data, {
      legend: {
        show: true
      },
      zoom: {
        interactive: true
      },
      pan: {
        interactive: true
      },
      bars: {
        align: "center",
        barWidth: 0.9,
        show: true
      },
      xaxis: {
        axisLabel: "Test Number",
        axisLabelFontSizePixels: 16,
        axisLabelPadding: 10,
        axisLabelUseCanvas: true
      },
      yaxis: {
        axisLabel: "Percentage",
        axisLabelFontSizePixels: 16,
        axisLabelPadding: 10,
        axisLabelUseCanvas: true
      }
    });
  }

  plotAccordingToChoices();
  document.getElementById("idpercent_gcc_4.9_O2").checked = true;
  document.getElementById("idpercent_clang_3.5").checked = true;
  plotAccordingToChoices();
});

              
            
!
999px

Console