Repository navigation
Benchmark
gaou edited this page Nov 17, 2020
·
1 revision
Here we show benchmark comparison of G-language GAE 1.8.11 and BioPerl 1.5.2.
These benchmarks were done on Dual CPU Intel Core2 Xeon 3GHz (8GB RAM) Machine.
use Benchmark;
use G;
use Bio::SeqIO;
$count = 100;
$value = "NC_000913.gbk";
timethese($count,
{'G-language' => '&test1;', 'BioPerl' => '&test2;', });
sub test1 {
$str = $value;
my $gb = new G($value, "no msg");
}
sub test2 {
$str = $value;
my $in = Bio::SeqIO->new(-file=>$value, '-format'=>'GenBank');
my $seq = $in->next_seq();
}
Benchmark: timing 100 iterations of BioPerl, G-language...
BioPerl: 746 wallclock secs (743.09 usr + 2.70 sys = 745.79 CPU) @ 0.13/s (n=100)
G-language: 23 wallclock secs (22.31 usr + 0.52 sys = 22.83 CPU) @ 4.38/s (n=100)
G-language GAE is 32x faster.
use Benchmark;
use G;
use Bio::SeqIO;
$count = 100;
$value = "NC_000913.gbk";
timethese($count,
{'G-language' => '&test1;', 'BioPerl' => '&test2;', });
sub test1 {
$str = $value;
my $gb = new G($value, "no msg", "no cache");
}
sub test2 {
$str = $value;
my $in = Bio::SeqIO->new(-file=>$value, '-format'=>'GenBank');
my $seq = $in->next_seq();
}
Benchmark: timing 100 iterations of BioPerl, G-language...
BioPerl: 747 wallclock secs (743.60 usr + 2.70 sys = 746.30 CPU) @ 0.13/s (n=100)
G-language: 105 wallclock secs (104.07 usr + 0.82 sys = 104.89 CPU) @ 0.95/s (n=100)
G-language GAE is 7x faster.
-
G-language Maps
- Institute for Advanced Biosciences
- E-Cell Simulation Environment
- E.coli multi-omics database
- Database of bacterial replication terminus
Kazuharu Arakawa, Ph.D.
G-language Project Leader Associate Professor
Institute for Advanced Biosciences Keio University
997-0017 Japan Tel/Fax: +81-235-29-0800 gaou@sfc.keio.ac.jp