This file contains 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
h1 'Fruits (haml)' | |
table -> | |
thead -> | |
tr -> | |
th 'Name' | |
th 'Price' | |
th 'Stock' | |
tbody -> | |
- for fruit in @fruits | |
tr -> |
This file contains 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
%h1 Fruits (haml) | |
%table | |
%thead | |
%tr | |
%th Name | |
%th Price | |
%th Stock | |
%tbody | |
- for (var i = 0; i < fruits.length; i++) { | |
%tr |
This file contains 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
<h1>Fruits (ejs)</h1> | |
<table> | |
<thead> | |
<tr> | |
<th>Name</th> | |
<th>Price</th> | |
<th>Stock</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains 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
h1 Fruits (jade) | |
table | |
thead | |
tr | |
th Name | |
th Price | |
th Stock | |
tbody | |
- for (var i = 0; i < fruits.length; i++) { | |
tr |
This file contains 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
<h1>Fruits (eco)</h1> | |
<table> | |
<thead> | |
<tr> | |
<th>Name</th> | |
<th>Price</th> | |
<th>Stock</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains 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
user system total real | |
Regexp: 13.720000 0.540000 14.260000 ( 15.841062) | |
index: 3.750000 0.140000 3.890000 ( 4.202292) | |
include?: 3.510000 0.130000 3.640000 ( 3.867318) |
This file contains 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
# 1 time | |
user system total real | |
S3: 0.030000 0.010000 0.040000 (0.227568) | |
# 100 times | |
user system total real | |
S3: 0.560000 0.050000 0.610000 (7.073952) | |
# 1000 times | |
user system total real |