mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
log benchmark reports
This commit is contained in:
@@ -37,6 +37,7 @@ window.benchmark = (description, fn, profile=false, focused=false) ->
|
||||
|
||||
fullname = @getFullName().replace(/\s|\.$/g, "")
|
||||
report = "#{fullname}: #{total} / #{count} = #{avg}ms"
|
||||
console.log(report)
|
||||
|
||||
if atom.headless
|
||||
url = "https://github.com/_stats"
|
||||
|
||||
Reference in New Issue
Block a user