Skip to content

Commit 8c5d6bf

Browse files
committed
fix headings
1 parent 01a95ea commit 8c5d6bf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The current snapshot that may not have the same quality (i.e.
4444
results might be for mixed browser versions, number of runs per benchmark may vary) can be seen [here](https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts-results/table.html)
4545
[![Results](images/results.png?raw=true "Results")](https://krausest.github.io/js-framework-benchmark/current.html)
4646

47-
# 1 NEW + experimental: Run pre-built binaries for all frameworks
47+
# 1 NEW: Run pre-built binaries for all frameworks
4848

4949
There are currently ~60 framework entries in this repository. Installing (and maintaining) those can be challenging, but here are simplified instructions how to get started.
5050

@@ -111,7 +111,7 @@ npm run bench -- --framework non-keyed/ef-js --benchmark 04_
111111
The you can then continue with creating the results table `npm run results`.
112112
Another workaround is to delete the folders of frameworks you can't run or you are not interested in.
113113

114-
# 2 Building the frameworks and running the benchmark
114+
# 2 The old and hard way: Building the frameworks and running the benchmark
115115

116116
## 2.1 Prerequisites
117117

@@ -155,7 +155,7 @@ Try to open [http://localhost:8080/index.html](http://localhost:8080/index.html)
155155

156156
Now open a new terminal window and keep the web server running in background.
157157

158-
### 1.3 Building and viewing a single framework
158+
## 2.3 Building and viewing a single framework
159159

160160
We now try to build the first framework. Go to the vanillajs reference implementation
161161

@@ -180,7 +180,7 @@ There should be no build errors and we can open the framework in the browser:
180180

181181
Some frameworks like binding.scala or ember can't be opened that way, because they need a 'dist' or 'target/web/stage' or something in the URL. You can find out the correct URL in the [index.html](http://localhost:8080/index.html) you've opened before or take a look whether there's a customURL property under js-framework-benchmark in the [package.json](https://github.com/krausest/js-framework-benchmark/blob/master/frameworks/keyed/ember/package.json#L10) that represents the url.
182182

183-
## 2.3 Running benchmarks for a single framework
183+
## 2.4 Running benchmarks for a single framework
184184

185185
The benchmark uses an automated benchmark driver using chromedriver to measure the duration for each operation using chrome's timeline. Here are the steps to run is for a single framework:
186186

@@ -229,7 +229,7 @@ npm run isKeyed keyed/vanillajs
229229

230230
If it finds anything it'll report an ERROR.
231231

232-
### 2.4 Building the result table
232+
## 2.5 Building the result table
233233

234234
Install libraries:
235235

@@ -251,15 +251,15 @@ Now a result table should have been created which can be opened on [http://local
251251
There's nothing in table except for the column vanillajs-keyed at the right end of the first table.
252252
![First Run Results](images/staticResults.png?raw=true "First Run Results")
253253

254-
## 2.4 [Optional] Updating the index.html file
254+
## 2.6 [Optional] Updating the index.html file
255255

256256
This simply rebuilds the file used to display the table, not the results.
257257

258258
```
259259
npm run index
260260
```
261261

262-
## 2.5 [Optional] Building and running the benchmarks for all frameworks
262+
## 2.7 [Optional] Building and running the benchmarks for all frameworks
263263

264264
This is not for the faint at heart. You can build all frameworks simply by issuing:
265265

0 commit comments

Comments
 (0)