Results for js web frameworks benchmark – round 4

Go here for the accompanying article http://www.stefankrause.net/wp/?p=316. Source code can be found in the github repository.

Duration in milliseconds (Slowdown = Duration / Fastest)

angular v1.5.8 angular v2.0.0-rc5 aurelia v1.0.0 bobril v4.44.1 cyclejs v7.0.0 domvm v1.2.10 inferno v0.7.26 inferno v1.0.0-alpha7 kivi v1.0.0-rc0 mithril v0.2.5 mithril v1.0.0-alpha plastiq v1.33.0 preact v6.0.2 ractive-edge ractive v0.7.3 react-lite v0.15.17 react v15.3.1 react v15.3.1-mobX-v2.5.0 riot v2.6.1 tsers v1.0.0 vidom v0.3.18 vue v1.0.26 vue v2.0.0-beta1 vanillajs create rows Duration for creating 1000 rows after the page loaded. 270.40 12.51

(2.31) 198.06 7.91

(1.69) 174.16 3.44

(1.49) 139.71 3.08

(1.19) 158.15 5.26

(1.35) 170.28 8.35

(1.45) 149.64 2.03

(1.28) 136.06 2.37

(1.16) 128.53 1.30

(1.10) 250.09 18.30

(2.13) 152.84 3.65

(1.30) 172.47 7.74

(1.47) 182.90 4.48

(1.56) 350.95 17.65

(2.99) 443.95 21.97

(3.79) 171.30 10.08

(1.46) 187.28 8.94

(1.60) 227.44 6.55

(1.94) 385.41 12.81

(3.29) 266.09 18.28

(2.27) 145.51 4.00

(1.24) 225.90 16.30

(1.93) 171.36 5.15

(1.46) 117.26 8.95

(1.00) replace all rows Duration for updating all 1000 rows of the table (with 5 warmup iterations). 235.25 16.15

(4.38) 178.45 1.98

(3.32) 81.52 2.16

(1.52) 153.88 2.46

(2.87) 71.39 0.71

(1.33) 73.85 4.97

(1.38) 157.64 2.68

(2.94) 53.69 1.22

(1.00) 131.39 6.03

(2.45) 229.39 2.18

(4.27) 275.39 8.25

(5.13) 174.25 3.42

(3.25) 190.28 2.00

(3.54) 65.35 0.73

(1.22) 76.55 1.76

(1.43) 209.67 2.45

(3.91) 190.16 2.20

(3.54) 211.71 2.99

(3.94) 74.66 1.59

(1.39) 116.17 1.78

(2.16) 159.10 5.19

(2.96) 227.03 12.75

(4.23) 68.76 0.93

(1.28) 54.17 1.88

(1.01) partial update Time to update the text of every 10th row (with 5 warmup iterations). 14.32 1.06

(1.00) 11.42 1.23

(1.00) 13.87 2.96

(1.00) 11.59 0.57

(1.00) 28.53 1.25

(1.78) 28.68 3.20

(1.79) 16.10 2.56

(1.01) 12.95 1.72

(1.00) 12.22 1.42

(1.00) 55.79 1.36

(3.49) 18.55 1.35

(1.16) 23.03 3.13

(1.44) 13.73 0.98

(1.00) 15.14 2.95

(1.00) 31.23 1.84

(1.95) 28.98 1.05

(1.81) 16.40 1.07

(1.03) 14.77 1.97

(1.00) 28.98 0.83

(1.81) 35.24 1.36

(2.20) 16.66 3.24

(1.04) 15.46 0.71

(1.00) 22.17 0.74

(1.39) 12.09 2.89

(1.00) select row Duration to highlight a row in response to a click on the row. (with 5 warmup iterations). 4.34 1.34

(1.00) 2.39 0.24

(1.00) 11.47 0.39

(1.00) 4.95 2.16

(1.00) 22.34 3.79

(1.40) 21.92 2.51

(1.37) 5.67 1.36

(1.00) 2.75 0.32

(1.00) 3.02 1.10

(1.00) 40.40 1.44

(2.53) 9.50 0.31

(1.00) 4.64 0.68

(1.00) 5.01 1.44

(1.00) 7.26 0.75

(1.00) 9.35 0.32

(1.00) 20.26 1.01

(1.27) 5.96 0.64

(1.00) 4.06 0.46

(1.00) 19.84 0.31

(1.24) 24.28 0.80

(1.52) 6.37 2.21

(1.00) 7.27 1.33

(1.00) 13.30 1.06

(1.00) 3.17 1.26

(1.00) swap rows Time to swap 2 rows on a 1K table. (with 5 warmup iterations). 50.09 1.08

(3.13) 50.16 2.81

(3.13) 51.15 2.82

(3.20) 45.51 2.53

(2.84) 23.82 0.86

(1.49) 29.80 1.43

(1.86) 50.62 2.44

(3.16) 13.20 2.63

(1.00) 47.49 2.72

(2.97) 94.47 2.17

(5.90) 55.00 1.32

(3.44) 47.75 2.41

(2.98) 49.33 1.24

(3.08) 12.51 2.79

(1.00) 29.37 1.42

(1.84) 60.42 0.26

(3.78) 48.25 0.53

(3.02) 49.42 2.76

(3.09) 26.38 0.97

(1.65) 30.64 0.63

(1.91) 53.22 3.80

(3.33) 49.88 1.67

(3.12) 19.14 0.55

(1.20) 9.68 1.67

(1.00) remove row Duration to remove a row. (with 5 warmup iterations). 63.57 0.67

(1.92) 64.11 1.88

(1.94) 91.30 1.14

(2.76) 62.56 2.09

(1.89) 52.92 3.85

(1.60) 50.48 1.76

(1.53) 61.98 1.92

(1.87) 33.82 1.06

(1.02) 61.95 1.36

(1.87) 96.53 1.55

(2.92) 132.26 1.59

(4.00) 68.43 2.04

(2.07) 136.63 0.63

(4.13) 75.31 2.04

(2.28) 192.49 1.84

(5.82) 78.45 1.00

(2.37) 67.07 2.54

(2.03) 72.57 2.83

(2.19) 89.11 0.80

(2.69) 72.03 1.26

(2.18) 67.98 1.46

(2.06) 66.26 1.84

(2.00) 44.09 0.77

(1.33) 33.07 0.83

(1.00) create many rows Duration to create 10,000 rows 2414.53 92.56

(2.00) 1914.70 63.86

(1.59) 1693.89 17.11

(1.40) 1310.14 23.91

(1.08) 1638.01 17.57

(1.36) 1548.40 28.56

(1.28) 1382.95 18.20

(1.14) 1342.28 10.63

(1.11) 1228.45 25.49

(1.02) 2920.82 119.22

(2.42) 1540.39 22.98

(1.28) 1730.09 14.18

(1.43) 2448.28 98.62

(2.03) 3291.85 132.68

(2.73) 5720.39 39.30

(4.74) 2039.72 47.09

(1.69) 1839.96 29.79

(1.52) 2229.20 81.40

(1.85) 4218.09 75.67

(3.49) 2810.34 13.33

(2.33) 1389.43 7.91

(1.15) 2890.37 313.40

(2.39) 1712.87 8.13

(1.42) 1208.00 11.56

(1.00) append rows to large table Duration for adding 1000 rows on a table of 10,000 rows. 764.82 39.92

(3.67) 594.38 8.91

(2.86) 639.98 11.15

(3.07) 222.20 2.83

(1.07) 430.25 2.52

(2.07) 506.71 8.79

(2.43) 253.99 6.92

(1.22) 211.87 1.12

(1.02) 215.84 6.50

(1.04) 1503.52 29.27

(7.22) 355.81 11.11

(1.71) 272.52 8.00

(1.31) 384.51 3.20

(1.85) 372.35 8.14

(1.79) 1331.00 24.46

(6.39) 1903.71 59.04

(9.15) 297.09 11.04

(1.43) 323.66 12.47

(1.55) 4596.15 504.29

(22.08) 626.72 13.95

(3.01) 267.63 14.23

(1.29) 694.65 11.42

(3.34) 420.53 8.23

(2.02) 208.15 4.48

(1.00) clear rows Duration to clear the table filled with 10.000 rows. 628.16 38.98

(3.99) 281.60 6.69

(1.79) 218.64 5.19

(1.39) 185.20 1.39

(1.18) 205.67 2.22

(1.31) 276.12 4.52

(1.76) 211.57 3.05

(1.35) 198.38 1.72

(1.26) 162.61 1.84

(1.03) 245.22 1.97

(1.56) 213.56 2.22

(1.36) 205.39 4.22

(1.31) 520.77 13.82

(3.31) 573.03 6.87

(3.64) 2256.17 37.99

(14.35) 280.89 5.52

(1.79) 371.16 4.12

(2.36) 391.64 5.79

(2.49) 862.28 8.69

(5.48) 283.13 8.43

(1.80) 174.44 2.32

(1.11) 373.95 8.32

(2.38) 223.87 4.61

(1.42) 157.27 1.93

(1.00) clear rows a 2nd time Time to clear the table filled with 10.000 rows. But warmed up with only one iteration. 1338.26 24.10

(8.50) 265.82 2.22

(1.69) 204.41 1.64

(1.30) 182.84 1.76

(1.16) 207.96 1.84

(1.32) 264.83 7.20

(1.68) 205.70 2.60

(1.31) 187.84 2.41

(1.19) 160.89 1.79

(1.02) 242.46 3.16

(1.54) 204.96 1.57

(1.30) 187.62 1.99

(1.19) 488.38 6.07

(3.10) 572.77 8.39

(3.64) 1236.32 68.61

(7.85) 303.16 3.11

(1.92) 354.71 7.91

(2.25) 372.56 8.50

(2.36) 871.37 10.77

(5.53) 290.06 1.56

(1.84) 170.07 1.71

(1.08) 368.67 5.70

(2.34) 210.56 4.41

(1.34) 157.53 2.22

(1.00) slowdown geometric mean 2.62 1.85 1.66 1.40 1.48 1.63 1.49 1.07 1.32 2.99 1.83 1.62 2.20 1.87 3.62 2.40 1.82 1.97 3.18 2.09 1.47 2.16 1.37 1.00

Memory allocation in MBs