Under nodejs the hdf5 code below takes about 200 milliseconds to run.
hdf5 = require('hdf5').hdf5;
h5lt = require('hdf5').h5lt;
Access = require('hdf5/lib/globals').Access;
start = new Date();
f = new hdf5.File('myhdf5file', Access.ACC_RDONLY);
h5lt.readDataset(f.id, 'Timestamp');
console.log(new Date() - start);
Similar code in python takes about 1 millisecond.
import h5py
from datetime import datetime
start = datetime.now()
h5py.File('myhdf5file')['Timestamp']
print datetime.now() - start
What would explain such a big difference? The hdf5 file is about 2 megs in size. I'm running on Linux.