in reply to DBI do vs prepare
So I'm trying to figure out why, in the following example, Code1, which uses the prepare strategy, benchmarks slower than Code2, which uses repeated dos?
Your benchmark code has a severe flaw in that it measures quite a bit of argument packing and unpacking besides the DBI calls.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DBI do vs prepare
by astaines (Curate) on Aug 13, 2006 at 23:57 UTC | |
by BrianC (Acolyte) on Aug 14, 2006 at 00:16 UTC | |
Re^2: DBI do vs prepare
by BrianC (Acolyte) on Aug 13, 2006 at 23:51 UTC | |
by chromatic (Archbishop) on Aug 14, 2006 at 00:37 UTC | |
by BrianC (Acolyte) on Aug 14, 2006 at 02:50 UTC |