diff --git a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js index e74279a556..5c584702d8 100644 --- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js +++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js @@ -353,7 +353,6 @@ const installOpfsVfs = function callee(options){ state.opIds.xClose = i++; state.opIds.xDelete = i++; state.opIds.xDeleteNoWait = i++; - state.opIds.xFileControl = i++; state.opIds.xFileSize = i++; state.opIds.xLock = i++; state.opIds.xOpen = i++; @@ -718,12 +717,9 @@ const installOpfsVfs = function callee(options){ return capi.SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN; }, xFileControl: function(pFile, opId, pArg){ - mTimeStart('xFileControl'); - const rc = (capi.SQLITE_FCNTL_SYNC===opId) - ? opRun('xSync', pFile, 0) - : capi.SQLITE_NOTFOUND; - mTimeEnd(); - return rc; + /*mTimeStart('xFileControl'); + mTimeEnd();*/ + return capi.SQLITE_NOTFOUND; }, xFileSize: function(pFile,pSz64){ mTimeStart('xFileSize'); @@ -779,8 +775,8 @@ const installOpfsVfs = function callee(options){ return rc; }, xSync: function(pFile,flags){ - ++metrics.xSync.count; mTimeStart('xSync'); + ++metrics.xSync.count; const rc = opRun('xSync', pFile, flags); mTimeEnd(); return rc; diff --git a/ext/wasm/speedtest1-worker.html b/ext/wasm/speedtest1-worker.html index cd0fdb027c..0d88049b95 100644 --- a/ext/wasm/speedtest1-worker.html +++ b/ext/wasm/speedtest1-worker.html @@ -23,7 +23,7 @@
Downloading...
- +