Firefox and Chrome Extensions : Bookmarks API Performance
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1
The data below was collected during tests run on 2017 Aug 16-17, with browser extensions running the same script installed into both Firefox 55 and Chrome 60. Both browsers contained the same existing bookmarks, about 6000, with about 5000 of them in one folder.

The computer was a 2013 MacBook Air with 4 GB RAM and 256 GB SSD with only about 10 GB available, running macOS 10.13 High Sierra Beta 6 (17A344b). Tests were scripted. The computer was in use – I was doing other stuff for some of the time, but most of the time, the computer was idle.

The script did getTree() and then added 1 bookmark to Chrome, then after that was done, did the same to Firefox, collecting one line of the Raw Data shown below, then repeated to collect another line. Oddly, the poorest performance (longest times) were during the hours of 02:00 and 03:00 local time. You can see these numbers near the end of the Raw Data. At 03:00, an error occurred and the testing quit. Apparently the Mac was doing some overnight maintenance at that time.

All numbers are in milliseconds.
2
3
Task:getTree() (all ~6K bookmarks)add 1 bookmark, return its id
4
Browser:FirefoxChromeFirefoxChrome
5
6
Statistics
7
mean782858529112479
8
standard deviation16560116168737290
9
minimum11077127055
10
maximum17610878605420263866
11
12
Raw Data
13
266011938864
14
2995211546119
15
2629221650209
16
2702177430189
17
214791519174
18
182592502202
19
47886041040358
20
18742611758765
21
2911170614219
22
4400119699192
23
4918389584165
24
30551122773184
25
2632119689154
26
1223901167272
27
1674112935176
28
11071382314316
29
1295147179887
30
171695603162
31
139588270163
32
1488127517205
33
2010166489137
34
1871132663127
35
1307110591180
36
18117146277
37
1356129531194
38
2578113556186
39
1789116454541
40
162582411306
41
1844147960158
42
2255111370127
43
2067199451217
44
23812195821161
45
2238332369160
46
236581468110
47
193699730199
48
2008191638102
49
2350175744178
50
2645168465129
51
2560164515188
52
26071911548447
53
2599170953395
54
24231531084546
55
2093109835229
56
2134135672321
57
2125212792259
58
172793712225
59
17811651166208
60
2055120471194
61
2605165654345
62
207493419249
63
15691482057361
64
165199540271
65
2128146500299
66
2598118583412
67
2519187650226
68
1900100897362
69
1971106600313
70
2622179520618
71
24852031245224
72
1955183854315
73
2198101446228
74
2059109555227
75
2253213555198
76
2166211555265
77
2599166604555
78
2748223881290
79
2294102706229
80
42012561117277
81
36052151208222
82
40181741093298
83
2984115843407
84
3820223780455
85
36241071083279
86
25451321138580
87
32512161047366
88
31101851101397
89
32642551042528
90
27341871001491
91
226311175175
92
2553189843485
93
27691531133810
94
25921071141716
95
27041731390580
96
2599172908769
97
267716216601053
98
279499552208
99
2891120654300
100
2975239538510
Loading...
 
 
 
Sheet1