Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiseLibs/better-sqlite3
/ sync
Function
sync
benchmark/benchmark.js:5–7 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
3
const
benchmark = require(
'nodemark'
);
4
5
const
sync = (fn) => {
6
display(benchmark(fn));
7
};
8
9
const
async
= (fn) => {
10
const
wrapped = cb => fn().then(() => cb(), cb);
Callers
nothing calls this directly
Calls
1
display
Function · 0.85
Tested by
no test coverage detected