@nsshunt/stsfhirpg 1.0.23 → 1.0.24

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.
@@ -17109,7 +17109,11 @@ 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
- if (total > 50) console.log(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
17112
+ let col;
17113
+ if (total > 100) col = import_source.default.hex("#E33A36");
17114
+ else if (total > 75) col = import_source.default.hex("#E56765");
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)}]`));
17113
17117
  };
17114
17118
  #isInTransaction = async (client) => {
17115
17119
  return (await client.query(`