dieumercimvemba's picture
download
raw
401 Bytes
'use strict';
const internals = {};
module.exports = internals.Bench = class {
constructor() {
this.ts = 0;
this.reset();
}
reset() {
this.ts = internals.Bench.now();
}
elapsed() {
return internals.Bench.now() - this.ts;
}
static now() {
const ts = process.hrtime();
return (ts[0] * 1e3) + (ts[1] / 1e6);
}
};

Xet Storage Details

Size:
401 Bytes
·
Xet hash:
080bad7a63cc7e42790f57cce821eb575d76b1e2244ef7877ef47f968cd78162

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.