mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
fixed profile
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
XRegExp = require('xregexp').XRegExp;
|
||||
|
||||
process.profile = function(operation, start) {
|
||||
console.log('%s took %d milliseconds', process.elapsedTimeSince(start));
|
||||
console.log('%s took %d milliseconds', operation, process.elapsedTimeSince(start));
|
||||
};
|
||||
|
||||
process.elapsedTimeSince = function(start) {
|
||||
|
||||
Reference in New Issue
Block a user