<div dir="ltr">In a brand new profile:<div><br></div><div>---</div><div>Cu.import("resource://gre/modules/PlacesDBUtils.jsm")<br></div><div><div>PlacesDBUtils.telemetry(null, (data) => console.log(JSON.stringify(data)))</div><div><br></div><div>"{"PLACES_PAGES_COUNT":11,"PLACES_BOOKMARKS_COUNT":8}"</div></div><div>---</div><div><br></div><div>so yes, we have eight default bookmarks. These are the four default Firefox bookmarks, the Firefox folder, and I would guess "Bookmarks Toolbar", "Bookmarks Menu", "Unsorted Bookmarks".</div><div><br></div><div>A truly empty profile — deleting the builtins — would have three.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 10:26 AM, Gregory Szorc <span dir="ltr"><<a href="mailto:gps@mozilla.com" target="_blank">gps@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mak (CCd) can answer our Places questions.<br>
rnewman also knows a bit about this from his Sync work. (I should know this too, but I never ventured too deep into the Places rabbit hole.)<div class="HOEnZb"><div class="h5"><br>
<br>
On 1/6/15 10:24 AM, Georg Fritzsche wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don’t know really about the places DB, but org.mozilla.places.places.<u></u>bookmarks is reporting PLACES_BOOKMARKS_COUNT from PlacesDBUtils.telemetry():<br>
<a href="https://hg.mozilla.org/mozilla-central/annotate/2a193b7f395c/services/healthreport/providers.jsm#l1441" target="_blank">https://hg.mozilla.org/<u></u>mozilla-central/annotate/<u></u>2a193b7f395c/services/<u></u>healthreport/providers.jsm#<u></u>l1441</a><br>
<a href="https://hg.mozilla.org/mozilla-central/annotate/2a193b7f395c/toolkit/components/places/PlacesDBUtils.jsm#l882" target="_blank">https://hg.mozilla.org/<u></u>mozilla-central/annotate/<u></u>2a193b7f395c/toolkit/<u></u>components/places/<u></u>PlacesDBUtils.jsm#l882</a><br>
<br>
Georg<br>
<br>
On 06 Jan 2015, at 19:17, Cheng Wang <<a href="mailto:cww@mozilla.com" target="_blank">cww@mozilla.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you countingautofolders (which look like folders but I think are set in the places DB like bookmarks)?<br>
<br>
Most visited, Recently bookmarked, recent tags would account for the 3 you're undercounting.<br>
<br>
I would bet that a common addonor historical default bookmark or partner repack or something like that accounts for the next bump to 15ish.<br>
<br>
Brendan Colloran wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey folks, Irina (cc'ed) has been looking at bookmark usage in FHR,<br>
and we're a bit surprised by what we're seeing-- 99% of profiles have<br>
8 or more bookmarks, with the median number being about 19 bookmarks<br>
(see plots attached). This seems too high given the assumption that at<br>
installation time there should be only 5 bookmarks installed. We're<br>
wondering if there is a bug somewhere that could be causing<br>
over-reporting, if there might be something like other entries<br>
recorded in the places database at profile creation time that would be<br>
reported as bookmarks, or if anyone knows of some othre explanation<br>
for the surprisingly high bookmark use and in particular the<br>
surprisingly high apparent number of pre-installed bookmarks.<br>
<br>
Let me know if you have any questions, and thanks for your help.<br>
<br>
-Brendan (and Irina)<br>
<br>
<br>
______________________________<u></u>_________________<br>
fhr-dev mailing list<br>
<a href="mailto:fhr-dev@mozilla.org" target="_blank">fhr-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/fhr-dev" target="_blank">https://mail.mozilla.org/<u></u>listinfo/fhr-dev</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
fhr-dev mailing list<br>
<a href="mailto:fhr-dev@mozilla.org" target="_blank">fhr-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/fhr-dev" target="_blank">https://mail.mozilla.org/<u></u>listinfo/fhr-dev</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
fhr-dev mailing list<br>
<a href="mailto:fhr-dev@mozilla.org" target="_blank">fhr-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/fhr-dev" target="_blank">https://mail.mozilla.org/<u></u>listinfo/fhr-dev</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
fhr-dev mailing list<br>
<a href="mailto:fhr-dev@mozilla.org" target="_blank">fhr-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/fhr-dev" target="_blank">https://mail.mozilla.org/<u></u>listinfo/fhr-dev</a><br>
</div></div></blockquote></div><br></div>