ecomfe / etpl

ETPL是一个强复用、灵活、高性能的JavaScript模板引擎,适用于浏览器端或Node环境中视图的生成。
http://ecomfe.github.io/etpl/
BSD 3-Clause "New" or "Revised" License
496 stars 96 forks source link

移动端测试结果 #4

Closed firede closed 10 years ago

firede commented 10 years ago

i9100 (Android 4.1.2)

MIUI Browser

compile-time.html

93ms
83ms
157ms
110ms
84ms

render-time.html?5000*10|start

etpl            811ms
juicer          834ms
mustache        2236ms
hogan           843ms
handlebars      827ms
ejs             2762ms
dot             3515ms
artTemplate     1162ms
baiduTemplate   1984ms

Chrome

compile-time.html

140ms
96ms
78ms
81ms
75ms

render-time.html?5000*10|start

etpl            692ms
juicer          638ms
mustache        2480ms
hogan           726ms
handlebars      603ms
ejs             2446ms
dot             1327ms
artTemplate     776ms
baiduTemplate   1759ms

Changhong Baidu Cloud (Android 2.3.6)

Baidu Browser

compile-time.html

368ms
353ms
361ms
495ms
357ms

render-time.html?5000*10|start

etpl            3461ms
juicer          3752ms
mustache        7704ms
hogan           4754ms
handlebars      4728ms
ejs             11429ms
dot             9086ms
artTemplate     2ms
baiduTemplate   8997ms

Meizu MX3 (Flyme OS 3.0.2, Android 4.2.1)

Meizu Browser

compile-time.html

234ms
194ms
172ms
137ms
150ms

render-time.html?5000*10|start

etpl            623ms
juicer          567ms
mustache        1557ms
hogan           563ms
handlebars      712ms
ejs             1875ms
dot             2182ms
artTemplate     714ms
baiduTemplate   1324ms

iPhone 5 (iOS7)

Safari

compile-time.html

59ms
57ms
54ms
53ms
55ms

render-time.html?5000*10|start

etpl            489ms
juicer          361ms
mustache        606ms
hogan           416ms
handlebars      301ms
ejs             762ms
dot             283ms
artTemplate     351ms
baiduTemplate   847ms

BaiduClient (WebView)

compile-time.html

84ms
84ms
83ms
84ms
80ms

render-time.html?5000*10|start

etpl            1173ms
juicer          940ms
mustache        2040ms
hogan           2036ms
handlebars      1064ms
ejs             1159ms
dot             2323ms
artTemplate     1374ms
baiduTemplate   3143ms

iTouch 4 (iOS6)

Safari

compile-time.html

197ms
165ms
178ms
168ms
170ms

render-time.html?5000*10|start

etpl            2395ms
juicer          1782ms
mustache        3475ms
hogan           1638ms
handlebars      1615ms
ejs             2815ms
dot             2089ms
artTemplate     3330ms
baiduTemplate   3450ms

BaiduClient (WebView)

compile-time.html

261ms
260ms
268ms
272ms
265ms

render-time.html?5000*10|start

etpl            5212ms
juicer          4153ms
mustache        7485ms
hogan           7052ms
handlebars      4383ms
ejs             5497ms
dot             6865ms
artTemplate     6820ms
baiduTemplate   10792ms

注:

  1. 在所有浏览器中,测试用例都已通过
  2. compile-time.html 的数据为测试5次的结果
  3. iOS系统中Safari与使用WebView存在差异,所以分别测试
errorrik commented 10 years ago

赞雷哥!!