File: flexpop.b

package info (click to toggle)
libapache-session-perl 1.94-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 448 kB
  • sloc: perl: 1,514; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use Apache::Session::Flex;
use Benchmark;

$hashref = {
	args => {
		Store => 'DBI',
		Lock  => 'Semaphore',
		Generate => 'MD5',
		Serialize => 'Storable',
	}
};

sub foo {
	Apache::Session::Flex::populate($hashref);
}

timethis(-10, \&foo, 'Construct 100K');