chrome.benchmarking.closeConnections() and chrome.benchmarking.clearHostResolverCache() disappeared in v27?

323 views
Skip to first unread message

Andrea Cardaci

unread,
May 30, 2013, 3:27:32 AM5/30/13
to google-chrome-...@googlegroups.com
I'm using that two functions in my project (chrome-har-capturer): I use the Runtime.evaluate command of the Remote Debugging Protocol to issue:

chrome.benchmarking.closeConnections(); chrome.benchmarking.clearHostResolverCache();

to the remote instance of Chrome (started with --enable-benchmarking).

Yesterday I noticed that on Chrome v27 (I can't be more specific right now...) that two functions were missing, though the chrome.benchmarking object is still there. 

Does something is changed? If so, are there any workarounds?

Andrea Cardaci

unread,
May 30, 2013, 12:53:14 PM5/30/13
to google-chrome-...@googlegroups.com
On Thursday, May 30, 2013 9:27:32 AM UTC+2, Andrea Cardaci wrote:
I'm using that two functions in my project (chrome-har-capturer): I use the Runtime.evaluate command of the Remote Debugging Protocol to issue:

chrome.benchmarking.closeConnections(); chrome.benchmarking.clearHostResolverCache();

to the remote instance of Chrome (started with --enable-benchmarking).

Yesterday I noticed that on Chrome v27 (I can't be more specific right now...) that two functions were missing, though the chrome.benchmarking object is still there. 

The exact version is  27.0.1453.93.

mohsen.z...@gmail.com

unread,
Jun 12, 2013, 4:49:18 PM6/12/13
to google-chrome-...@googlegroups.com
I have the same issue with chrome beta version 28.0.1500.36 dev. Have you found an answer?

Andrea Cardaci

unread,
Jun 12, 2013, 5:28:23 PM6/12/13
to google-chrome-...@googlegroups.com, mohsen.z...@gmail.com
On Wednesday, June 12, 2013 10:49:18 PM UTC+2, mohsen.z...@gmail.com wrote:
I have the same issue with chrome beta version 28.0.1500.36 dev. Have you found an answer?

Nope, no luck... If I ever find some info I will post it here. It would be nice if you could do the same.

Cheers,

mohsen.z...@gmail.com

unread,
Jun 12, 2013, 9:39:03 PM6/12/13
to google-chrome-...@googlegroups.com, mohsen.z...@gmail.com
I still don't know if they have removed the functions or not but
the following code can be used to clear the DNS cache:

chrome.browsingData.removeCache({});

unga...@gmail.com

unread,
Dec 3, 2013, 4:35:38 PM12/3/13
to google-chrome-...@googlegroups.com
I think that they removed chrome.benchmarking functionalities, also this extension https://chrome.google.com/webstore/detail/page-benchmarker/channimfdomahekjcahlbpccbgaopjll made by google is not working any more.

unga...@gmail.com

unread,
Dec 3, 2013, 4:51:23 PM12/3/13
to google-chrome-...@googlegroups.com, unga...@gmail.com
I find out that there are new benchmarking flags, now you need also to add "--enable-net-benchmarking".

Andrea Cardaci

unread,
Dec 3, 2013, 4:55:13 PM12/3/13
to google-chrome-...@googlegroups.com, unga...@gmail.com
That's great! I'm curious... how did you find out?

Davide Ungari

unread,
Dec 4, 2013, 2:18:23 AM12/4/13
to Andrea Cardaci, google-chrome-...@googlegroups.com
I was wondering if there were more flags and I find out two interesting resources:

--
Davide

Andrea Cardaci

unread,
Dec 4, 2013, 6:06:51 AM12/4/13
to Davide Ungari, google-chrome-...@googlegroups.com

I totally missed that, the last time I checked that website...

Thanks, you solved one big issue to me.

Cheers!

Reply all
Reply to author
Forward
0 new messages