Results for js web frameworks benchmark – round 3

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

Duration in milliseconds (Slowdown = Duration / Fastest)

angular v1.5.7 angular v2.0.0-rc4 aurelia v1.0.0-rc1.0.0 cyclejs v6.0.3 cyclejs v7.0.0 ember v2.6.1 inferno v0.7.13 mithril v0.2.5 plastiq v1.30.1 preact v4.8.0 ractive v0.7.3 react-lite v0.15.14 react v0.14.8 react v15.2.0 react v15.2.0-mobX-v2.3.3 tsers v1.0.0 vidom v0.3.6 vue v1.0.26 vanillajs create rows Duration for creating 1000 rows after the page loaded. 249.56 6.29

(1.98) 192.38 4.51

(1.52) 220.08 25.31

(1.74) 808.74 7.48

(6.41) 181.13 5.57

(1.44) 747.01 13.05

(5.92) 153.6 4.05

(1.22) 322.62 16.89

(2.56) 180.23 6.53

(1.43) 207.68 8.8

(1.65) 548.84 15.25

(4.35) 169.04 6.23

(1.34) 251.61 3.82

(1.99) 184.48 2.26

(1.46) 201.17 4.13

(1.59) 289.39 6.79

(2.29) 144.65 3.52

(1.15) 259.77 9.46

(2.06) 126.18 1.84

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

(3.75) 210.64 5.51

(3.00) 131.69 9.4

(1.88) 725.63 4.98

(10.3) 106.59 2.09

(1.52) 583.99 15.99

(8.33) 160.18 2.21

(2.28) 278.42 5.33

(3.97) 195.87 4.6

(2.79) 194.53 2.26

(2.77) 96.8 2.55

(1.38) 230.35 4.36

(3.28) 248.28 3.72

(3.54) 197.82 4

(2.82) 211.2 3.42

(3.01) 135.03 2.22

(1.93) 157.08 2.04

(2.24) 261.84 8.52

(3.73) 70.13 1.74

(1.00) partial update Time to update the text of every 10th row (with 5 warmup iterations). 16.41 0.17

(1.03) 11.87 0.44

(1.00) 11.71 0.79

(1.00) 664.41 6.63

(41.5) 48.02 1.64

(3.00) 37.67 0.83

(2.35) 13.7 0.41

(1.00) 97.05 2.34

(6.07) 20.35 1.6

(1.27) 21.77 0.63

(1.36) 35.9 1.15

(2.24) 29.1 0.74

(1.82) 16.2 0.26

(1.01) 18.78 0.66

(1.17) 20.75 0.81

(1.30) 42.65 2.38

(2.67) 18.51 2.6

(1.16) 15.76 0.56

(1.00) 11.51 0.39

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

(1.00) 5.08 0.29

(1.00) 53.89 19.28

(3.37) 657.97 13.51

(41.1) 38.85 3.4

(2.43) 42.24 0.93

(2.64) 6.31 0.88

(1.00) 75.71 1.69

(4.73) 8.38 2.76

(1.00) 5.6 0.47

(1.00) 10.89 0.7

(1.00) 17.81 0.23

(1.11) 6.43 0.84

(1.00) 7.07 0.63

(1.00) 6.51 0.32

(1.00) 30.13 0.92

(1.88) 12.52 1.59

(1.00) 7.33 0.48

(1.00) 5.98 1.35

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

(3.16) 51.76 1.5

(3.23) 53.8 35.39

(3.36) 655.23 6.94

(41.0) 43.86 2.78

(2.74) 74.69 1.83

(4.67) 48.09 0.96

(3.01) 138.3 3.62

(8.64) 51.49 1.73

(3.22) 60.01 4.55

(3.75) 32.02 1.1

(2.00) 65.85 1.37

(4.12) 53.37 1.8

(3.34) 53.05 1.02

(3.32) 55.71 1.47

(3.48) 35.51 1.62

(2.22) 58.97 1.9

(3.69) 52.96 1.02

(3.31) 7.83 0.18

(1.00) remove row Duration to remove a row. (with 5 warmup iterations). 70.72 1.9

(1.14) 133.52 2.53

(2.16) 98.35 1.91

(1.59) 684.62 4.86

(11.1) 72.84 3.01

(1.18) 92.95 1.43

(1.50) 61.91 0.42

(1.00) 138.56 2.07

(2.24) 69.57 2.71

(1.12) 65.9 2.06

(1.06) 199.34 3.4

(3.22) 79.76 1.5

(1.29) 68.67 2.28

(1.11) 64.89 2.16

(1.05) 66.28 2.37

(1.07) 79.13 2.8

(1.28) 73.33 3.95

(1.18) 70.61 0.85

(1.14) 63.33 1.03

(1.02) create many rows Duration to create 10,000 rows 2573.01 105.2

(2.03) 1842 9.49

(1.46) 1857.53 21.46

(1.47) 59304.35 441.56

(46.9) 1806.99 18.04

(1.43) 5905.1 191.34

(4.67) 1488.96 21.3

(1.18) 3258.88 19.34

(2.58) 1870.98 51.36

(1.48) 2656.55 64.6

(2.10) 5994.12 131.22

(4.74) 2192.9 45.81

(1.73) 3002.65 70.77

(2.37) 1858.08 24.52

(1.47) 1941.14 46.4

(1.53) 2937.51 42.67

(2.32) 1415.71 17.43

(1.12) 2705.86 148.47

(2.14) 1265.22 16.65

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

(3.67) 679.67 14.07

(3.02) 700.63 22.64

(3.11) 69569.98 773.29

(309) 729.01 18.98

(3.24) 1211.5 12.02

(5.38) 285.41 13.48

(1.27) 1881.17 28.77

(8.35) 294.75 8

(1.31) 459.71 14.26

(2.04) 1431.26 16.67

(6.35) 1755.8 36.2

(7.79) 494.86 14.69

(2.20) 326.41 18.33

(1.45) 344.25 10.34

(1.53) 701 8.71

(3.11) 319.6 6.21

(1.42) 743.44 14.95

(3.30) 225.3 1.89

(1.00) clear rows Duration to clear the table filled with 10.000 rows. 840.63 6.94

(3.78) 436.54 27.78

(1.96) 604.56 23.45

(2.72) 253.33 2.1

(1.14) 240.71 3.04

(1.08) 1182.97 12.84

(5.32) 227.16 2.26

(1.02) 294.11 2.02

(1.32) 247.11 6.26

(1.11) 358.09 2.32

(1.61) 2295.3 43.25

(10.3) 394.49 16.55

(1.78) 385.48 5.58

(1.74) 2000.85 18.56

(9.01) 2027.88 18.11

(9.13) 310.89 4.88

(1.40) 223.47 13.17

(1.01) 434.58 12.47

(1.96) 222.16 4.81

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

(8.51) 411.59 31.34

(2.13) 615.63 5.58

(3.18) 274.29 5.69

(1.42) 236.9 5.19

(1.23) 1617.69 14.12

(8.37) 227.97 3.15

(1.18) 296.14 3.31

(1.53) 238.25 6.11

(1.23) 345.9 3.02

(1.79) 1500 161.27

(7.76) 342.1 18.49

(1.77) 366.03 6.83

(1.89) 4117.91 23.41

(21.3) 4127.69 10.26

(21.4) 317 4.46

(1.64) 773.1 7.09

(4.00) 435.33 7.33

(2.25) 193.3 2.13

(1.00) slowdown geometric mean 2.41 1.89 2.17 16.1 1.78 4.35 1.31 3.46 1.47 1.77 3.40 2.14 1.84 2.42 2.53 2.00 1.56 1.97 1.00

Memory allocation in MBs