Make it easier to benchmark and profile the code (#4780)
* Make it easier to benchmark and profile the code * Remove unnecessary escape * Clarify that the backend server is started without the frontend * Add missing NODE_CONFIG_ENV environment variable * Add error message when user has not included console.time statements * Fix lint issue * Handle multiple console.time statements * Switch NODE_CONFIG_ENV to test * Switch to const as variable never re-assigned
This commit is contained in:
@@ -48,9 +48,6 @@ public:
|
||||
authorizedOrigins: 'TEAMCITY_ORIGINS'
|
||||
trace: 'TRACE_SERVICES'
|
||||
|
||||
profiling:
|
||||
makeBadge: 'PROFILE_MAKE_BADGE'
|
||||
|
||||
cacheHeaders:
|
||||
defaultCacheLengthSeconds: 'BADGE_MAX_AGE_SECONDS'
|
||||
|
||||
|
||||
@@ -23,9 +23,6 @@ public:
|
||||
intervalSeconds: 200
|
||||
trace: false
|
||||
|
||||
profiling:
|
||||
makeBadge: false
|
||||
|
||||
cacheHeaders:
|
||||
defaultCacheLengthSeconds: 120
|
||||
|
||||
|
||||
Reference in New Issue
Block a user