This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OMG it worked |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html><html><head><style>body { | |
| font-family: monospace; | |
| } | |
| table th, table td { | |
| text-align: left; | |
| padding: 2px; | |
| } | |
| th.frame, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Benchmark = require('benchmark'); | |
| var suite = new Benchmark.Suite; | |
| var arr = [1,2,3,4,5,6,7,8,9,0] | |
| suite.add('for', function() { | |
| for (var i = 0, len = arr.length; i < len; i++) { | |
| var item = arr[i]; | |
| item + 1; | |
| } | |
| }) | |
| .add('for-of', function() { |
I hereby claim:
- I am sebdeckers on github.
- I am sebdeckers (https://keybase.io/sebdeckers) on keybase.
- I have a public key ASCdrZZCHTmmCqUhg3EHartVEhC25LJN4Ue9IUKFKg67Tgo
To claim this, I am signing this object:
Goal: Discere faciendo. (Learn by doing.)
Mad scientists: @sakaru, @josephinekwa, @sebdeckers
Method:
- Running the Dohnut container image from Docker Hub,
- using k3s, a lightweight Kubernetes distribution,
OlderNewer