2018-01-15 15:24:18 +00:00
|
|
|
<!-- Copyright 2018 the V8 project authors. All rights reserved.
|
|
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
|
|
found in the LICENSE file. -->
|
|
|
|
<template id="details-selection-template">
|
|
|
|
<style>
|
2018-02-14 08:26:42 +00:00
|
|
|
#dataSelectionSection {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-01-15 15:24:18 +00:00
|
|
|
.box {
|
|
|
|
border-left: dashed 1px #666666;
|
|
|
|
border-right: dashed 1px #666666;
|
|
|
|
border-bottom: dashed 1px #666666;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: hidden;
|
2018-03-05 16:55:18 +00:00
|
|
|
position: relative;
|
2018-01-15 15:24:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.box:nth-of-type(1) {
|
|
|
|
border-top: dashed 1px #666666;
|
|
|
|
border-radius: 5px 5px 0px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box:last-of-type {
|
|
|
|
border-radius: 0px 0px 5px 5px;
|
|
|
|
}
|
|
|
|
|
2018-01-22 15:50:48 +00:00
|
|
|
.box > ul {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box > ul > li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box > ul > li:not(:first-child) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box > ul > li:first-child {
|
2018-01-15 15:24:18 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-03-05 16:55:18 +00:00
|
|
|
.instanceTypeSelectBox {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2018-01-15 15:24:18 +00:00
|
|
|
float: left;
|
2018-03-05 16:55:18 +00:00
|
|
|
padding: 0px 5px 2px 0px;
|
2018-03-01 14:08:59 +00:00
|
|
|
margin: 3px;
|
2018-03-05 16:55:18 +00:00
|
|
|
border-radius: 3px;
|
2018-03-01 14:08:59 +00:00
|
|
|
}
|
|
|
|
|
2018-03-05 16:55:18 +00:00
|
|
|
.instanceTypeSelectBox > label {
|
|
|
|
font-size: xx-small;
|
2018-03-01 14:08:59 +00:00
|
|
|
}
|
2018-03-05 16:55:18 +00:00
|
|
|
|
|
|
|
.instanceTypeSelectBox > input {
|
|
|
|
vertical-align: middle;
|
2018-03-01 14:08:59 +00:00
|
|
|
}
|
2018-03-05 16:55:18 +00:00
|
|
|
|
|
|
|
.percentBackground {
|
|
|
|
position: absolute;
|
|
|
|
width: 200%;
|
|
|
|
height: 100%;
|
|
|
|
left: 0%;
|
|
|
|
top: 0px;
|
|
|
|
margin-left: -100%;
|
|
|
|
transition: all 1s ease-in-out;
|
2018-01-15 15:24:18 +00:00
|
|
|
}
|
|
|
|
|
2018-03-05 16:55:18 +00:00
|
|
|
.instanceTypeSelectBox > .percentBackground {
|
|
|
|
background: linear-gradient(90deg, #68b0f7 50%, #b3d9ff 50%);
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
.box > .percentBackground {
|
|
|
|
background: linear-gradient(90deg, #e0edfe 50%, #fff 50%);
|
|
|
|
z-index: -2;
|
2018-01-15 15:24:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#categories {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-26 16:30:08 +00:00
|
|
|
|
|
|
|
#category-filter {
|
|
|
|
text-align: right;
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
|
2018-01-15 15:24:18 +00:00
|
|
|
</style>
|
2018-02-14 08:26:42 +00:00
|
|
|
<section id="dataSelectionSection">
|
|
|
|
<h2>Data selection</h2>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<label for="isolate-select">
|
|
|
|
Isolate
|
|
|
|
</label>
|
|
|
|
<select id="isolate-select">
|
|
|
|
<option>No data</option>
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label for="dataset-select">
|
|
|
|
Data set
|
|
|
|
</label>
|
|
|
|
<select id="dataset-select">
|
|
|
|
<option>No data</option>
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="merge-categories" checked=checked />
|
|
|
|
<label for="merge-categories">
|
|
|
|
Merge categories
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label for="gc-select">
|
|
|
|
Garbage collection (at a specific time in ms)
|
|
|
|
</label>
|
|
|
|
<select id="gc-select">
|
|
|
|
<option>No data</option>
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input id="category-filter" type="text" value="0" disabled="disabled" />KB
|
2018-03-01 14:08:59 +00:00
|
|
|
<button id="category-filter-btn" disabled="disabled">
|
|
|
|
Filter categories with less memory
|
|
|
|
</button>
|
|
|
|
<button id="category-auto-filter-btn" disabled="disabled">
|
|
|
|
Show top 20 categories only
|
|
|
|
</button>
|
2018-02-14 08:26:42 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button id="csv-export-btn" disabled="disabled">Export selection as CSV</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2018-01-15 17:58:02 +00:00
|
|
|
|
2018-02-14 08:26:42 +00:00
|
|
|
<div id="categories"></div>
|
|
|
|
</section>
|
2018-01-15 15:24:18 +00:00
|
|
|
</template>
|
2018-02-14 08:26:42 +00:00
|
|
|
|
2018-01-15 15:24:18 +00:00
|
|
|
<script type="text/javascript" src="categories.js"></script>
|
2018-02-14 08:26:42 +00:00
|
|
|
<script type="text/javascript" src="details-selection.js"></script>
|