@nsshunt/stsfhirpg 1.0.24 → 1.0.25
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/dist/stsfhirpg.cjs
CHANGED
|
@@ -17109,11 +17109,9 @@ var PGFhirAccessLayer = class extends import_tiny_emitter.TinyEmitter {
|
|
|
17109
17109
|
}
|
|
17110
17110
|
const lap3 = performance.now() - start;
|
|
17111
17111
|
const total = performance.now() - oa;
|
|
17112
|
-
|
|
17113
|
-
if (total >
|
|
17114
|
-
else if (total >
|
|
17115
|
-
else if (total > 50) col = import_source.default.hex("#ECA09E");
|
|
17116
|
-
if (col) console.log(col(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
17112
|
+
if (total > 100) console.log(import_source.default.hex("#E33A36")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
17113
|
+
else if (total > 75) console.log(import_source.default.hex("#e27270")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
17114
|
+
else if (total > 50) console.log(import_source.default.hex("#e2c3c2")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
17117
17115
|
};
|
|
17118
17116
|
#isInTransaction = async (client) => {
|
|
17119
17117
|
return (await client.query(`
|