Re: excessive use of gettimeofday(2) and other syscalls

看板FB_hackers作者時間14年前 (2011/09/10 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/16 (看更多)
>> Firefox 5 and 6 has more gettimeofday call than 20000 per second on my >> amd64-8.2-stable box. > i don't see why chromium needs > to call gettimeofday(2) or any library function that triggers it more > than 3000 times a second. What the <BLEEP> are web browsers doing that they "need" the clock so often? I suspect the answer is the same as why firefox uses significant amounts of CPU when it should be idle, why it uses memory without bound (I actually had to add ulimit to my shell's rc file :-( ), and so on. Using "links -g", "ktrace -di -tc -p6951; sleep 1; ktrace -C; kdump|wc -l" gives a typical count of 300-400, highest count seen: 1454. What we need, is a sanely written web browser that has the features we need. Unfortunately the last time I checked, links and dillo both lacked features needed for online shopping/banking. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1EQbHYKJ (FB_hackers)
討論串 (同標題文章)
完整討論串 (本文為第 13 之 16 篇):
文章代碼(AID): #1EQbHYKJ (FB_hackers)