This is done with a demo bootstrap static site which includes js, css
wrk is used for benchmarking with
wrk -c 100 -d 20 http://localhost:3000
Numbers speak louder than words.
| //normal loop | |
| for (var i=0; i < 3; i++) { | |
| for(var j = 0; j < 3; j++) { | |
| console.log(i,j); | |
| } | |
| } | |
| /* output for normal loop | |
| 0 0 | |
| 0 1 | |
| 0 2 |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Sonsuzdongu.com</title> | |
| </head> | |
| <body> | |
| <div style="position:relative; border:1px solid red; width:960px; height:600px; line-height:600px; text-align:center; "> | |
| <span style="display:inline-block; vertical-align:middle;"> | |
| <div style="height:20px; width:200px; background:#b31616; line-height:20px;"> |