Groups
Sign in
Groups
GoMySQL
Conversations
About
Send feedback
Help
A simple benchmark
7 views
Skip to first unread message
Phil Bayfield
unread,
Jan 27, 2011, 6:02:36 PM
1/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GoMySQL
I've added a connect benchmark to the test file, it simply benchmarks
the connect phase (handshake + authenticate) in the dev branch:
./8.out -v -benchmarks="BenchmarkDialTCP|BenchmarkDialUnix"
mysql.BenchmarkDialTCP 1000 1823016 ns/op
mysql.BenchmarkDialUnix 2000 814905 ns/op
This was from a N280 Atom netbook, 0.8ms isn't too shabby really.
Phil Bayfield
unread,
Jan 28, 2011, 1:41:55 PM
1/28/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GoMySQL
Benchmark took 0.3ms on a Core2 Duo laptop (x64)
Reply all
Reply to author
Forward
0 new messages