@rocicorp/zero 0.16.2025030700 → 0.16.2025031000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/{chunk-OFUFJPTY.js → chunk-AA7JVDA7.js} +12 -2
- package/out/{chunk-OFUFJPTY.js.map → chunk-AA7JVDA7.js.map} +2 -2
- package/out/solid.js +1 -1
- package/out/zero.js +1 -1
- package/out/zql/src/query/query-impl.d.ts.map +1 -1
- package/out/zql/src/query/query-impl.js +7 -0
- package/out/zql/src/query/query-impl.js.map +1 -1
- package/package.json +1 -1
|
@@ -11461,12 +11461,22 @@ var QueryImpl = class extends AbstractQuery {
|
|
|
11461
11461
|
);
|
|
11462
11462
|
}
|
|
11463
11463
|
materialize(factory) {
|
|
11464
|
+
const t0 = Date.now();
|
|
11464
11465
|
const ast = this._completeAst();
|
|
11465
11466
|
const queryCompleteResolver = resolver7();
|
|
11466
11467
|
let queryGot = false;
|
|
11467
11468
|
const ttl = void 0;
|
|
11468
11469
|
const removeServerQuery = this.#delegate.addServerQuery(ast, ttl, (got) => {
|
|
11469
11470
|
if (got) {
|
|
11471
|
+
const t1 = Date.now();
|
|
11472
|
+
if (t1 - t0 > 1e3) {
|
|
11473
|
+
console.warn(
|
|
11474
|
+
"Slow query materialization (including server/network)",
|
|
11475
|
+
this.hash(),
|
|
11476
|
+
ast,
|
|
11477
|
+
t1 - t0
|
|
11478
|
+
);
|
|
11479
|
+
}
|
|
11470
11480
|
queryGot = true;
|
|
11471
11481
|
queryCompleteResolver.resolve(true);
|
|
11472
11482
|
}
|
|
@@ -14086,7 +14096,7 @@ function makeMessage(message, context, logLevel) {
|
|
|
14086
14096
|
}
|
|
14087
14097
|
|
|
14088
14098
|
// ../zero-client/src/client/version.ts
|
|
14089
|
-
var version2 = "0.16.
|
|
14099
|
+
var version2 = "0.16.2025031000";
|
|
14090
14100
|
|
|
14091
14101
|
// ../zero-client/src/client/log-options.ts
|
|
14092
14102
|
var LevelFilterLogSink = class {
|
|
@@ -16249,4 +16259,4 @@ export {
|
|
|
16249
16259
|
escapeLike,
|
|
16250
16260
|
Zero
|
|
16251
16261
|
};
|
|
16252
|
-
//# sourceMappingURL=chunk-
|
|
16262
|
+
//# sourceMappingURL=chunk-AA7JVDA7.js.map
|