forked from mringes13/mp0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gomaxprocsvsruntime.html
27 lines (23 loc) · 1.29 KB
/
gomaxprocsvsruntime.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Awesome go-echarts</title>
<script src="https://go-echarts.github.io/go-echarts-assets/assets/echarts.min.js"></script>
</head>
<body>
<div class="container">
<div class="item" id="CLGWnaJToISa" style="width:900px;height:500px;"></div>
</div>
<script type="text/javascript">
"use strict";
let goecharts_CLGWnaJToISa = echarts.init(document.getElementById('CLGWnaJToISa'), "white");
let option_CLGWnaJToISa = {"color":["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],"legend":{"show":false},"series":[{"name":"Category A","type":"scatter","waveAnimation":false,"renderLabelForZeroData":false,"selectedMode":false,"animation":false,"data":[{"value":815297},{"value":455558},{"value":448212},{"value":379359}],"label":{"show":true,"position":"right"}}],"title":{"text":"GOMAXPROCS vs. Program Run Time","sublink":"https://github.com/mringes13/mp0#readme"},"tooltip":{"show":false},"xAxis":[{"name":"#CPU Threads","data":["1","2","3","4"]}],"yAxis":[{"name":"Time(μs)"}]};
goecharts_CLGWnaJToISa.setOption(option_CLGWnaJToISa);
</script>
<style>
.container {margin-top:30px; display: flex;justify-content: center;align-items: center;}
.item {margin: auto;}
</style>
</body>
</html>