Skip to content

Build your personal knowledge base with Trilium Notes

lock CPU info for perf context

zadam28dc6b93ca81
diff --git a/src/www b/src/www
index 338d613147..22dbb44b8a 100755
--- a/src/www
+++ b/src/www
@@ -68,6 +68,9 @@ async function startTrilium() {
log.info(JSON.stringify(appInfo, null, 2));
+ const cpuInfos = require('os').cpus();
+ log.info(`CPU model: ${cpuInfos[0].model}, logical cores: ${cpuInfos.length} freq: ${cpuInfos[0].speed} Mhz`); // for perf. issues it's good to know the rough configuration
+
/**
* Listen on provided port, on all network interfaces.
*/