Files

59 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html style="width: 100%; height: 100%; overflow: hidden">
<head>
<meta charset="utf-8">
<title>Ionic Perf Demo</title>
<script src="/dist/ionic-web/ionic.js"></script>
<style>
body {
background: #fff;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px;
line-height: 1.7;
margin: 0;
padding: 30px;
}
a {
color: #4a8bfc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
h1 {
border-bottom: 1px solid #ddd;
font-size: 2.0em;
font-weight: bold;
margin: 0 0 15px;
padding: 0;
}
.demo {
font-weight: 500;
text-decoration: underline;
}
.demo:hover {
color: #317bfc;
text-decoration: none;
}
</style>
</head>
<body>
<h1>Ionic Perf Demo</h1>
<p>
The goal of this demo is to show smooth animations while at
the same time updating 729 text nodes every second. Only one property
is updated at the root node, which is then passed down through over
1,700 nodes every second. Additionally, user interactions, such as
mouseenter and mouseleave, take precedence, yet should not interfer with
animations and node updates. This demo was adopted from the
<a href="https://claudiopro.github.io/react-fiber-vs-stack-demo/">React Fiber demo</a>.
</p>
<a class="demo" href="perf.html">Show Demo</a>
</body>
</html>