-
Notifications
You must be signed in to change notification settings - Fork 0
/
fib.html
39 lines (38 loc) · 1.14 KB
/
fib.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
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>For Testing</title>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="fib.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<div class="centered"> </div>
<form id="fib-input">
<fieldset>
<legend>Fibonacci Performance</legend>
<label>Input Number: </label>
<input id="fibnum" type="text" placeholder= "around 35 it gets interesting..">
<div class="btn">Submit</div>
</fieldset>
</form>
<div class="fib-results">
<blockquote>
<div class="cache"></div>
</blockquote>
<h1 class="answer"></h1>
<div>
Benchmark in Milliseconds
<table class="table">
<tr>
<th> With cache: <div id="wcache" > </div> </th>
<th> Without Cache: <div id="wocache" > </div> </th>
</tr>
</table>
<div class="note"></div>
</div>
</div>
<script src="fib.js" type="text/javascript"></script>
</body>
</html>