jsdb as cgi: relative slow writing?

35 views
Skip to first unread message

Renzo Kooi

unread,
Apr 10, 2012, 10:14:10 AM4/10/12
to js...@googlegroups.com
Check http://testbed.nicon.nl/v8test/test.jsdb. Here the total duration of retrieving some data lasts relatively long. Checking the net-tab of Chromes developer tool reveals that 'receiving' the data (a short json string) lasts almost 3 times longer than waiting. The same test using v8cgi (http://testbed.nicon.nl/v8test/json.xjs) uses 2ms for receiving. Why is the receiving part of this jsdb call so slow? Could it be that the system.write method is slow, or could it be that script execution doesn't end directly (I use system.quit to exit)?

I stumbled upon this (by the way), whilst testing a bug in v8cgis' MySQL module, see http://code.google.com/p/v8cgi/issues/detail?id=112.

Renzo Kooi

unread,
Apr 19, 2012, 1:52:11 AM4/19/12
to js...@googlegroups.com
For the record, it may be a browser issue. The 'recieving' time in Firefox is not that high.
Reply all
Reply to author
Forward
0 new messages