diff --git a/_locales/en_US/messages.json b/_locales/en_US/messages.json index 090b91a..2f139a1 100644 --- a/_locales/en_US/messages.json +++ b/_locales/en_US/messages.json @@ -7,7 +7,7 @@ "linkHelpHref": { "message": "https://gbaptista.github.io/luminous/doc/en-US" }, "checkboxInjectionEnabledGeneral": { "message": "all websites" }, - "checkboxShowCodeDetails": { "message": "show code details" }, + "checkboxShowCodeDetails": { "message": "code details" }, "titleHandleEvent": { "message": "triggered events (handleEvent)" }, "titleAddEventListener": { "message": "attached events (addEventListener)" }, @@ -90,5 +90,10 @@ "settingsNoRecordsText": { "message": "no records found" }, "settingsReportClearAllButtonText": { "message": "clear all records" }, "checkboxZoomIn": { "message": "zoom in" }, - "checkboxApplyToDefault": { "message": "apply actions to default rules" } + "checkboxApplyToDefault": { "message": "apply actions to default rules" }, + + "checkboxShowPerformanceMetrics": { "message": "performance metrics" }, + "sortByText": { "message": "sort by" }, + "sortByCallsText": { "message": "executions" }, + "sortByTimeText": { "message": "time spent" } } diff --git a/_locales/es/messages.json b/_locales/es/messages.json index 3f5d8c7..21afbc4 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -7,7 +7,7 @@ "linkHelpHref": { "message": "https://gbaptista.github.io/luminous/doc/es" }, "checkboxInjectionEnabledGeneral": { "message": "todas las webs" }, - "checkboxShowCodeDetails": { "message": "mostrar detalles de código" }, + "checkboxShowCodeDetails": { "message": "detalles de código" }, "titleHandleEvent": { "message": "eventos activados (handleEvent)" }, "titleAddEventListener": { "message": "eventos ligados (addEventListener)" }, @@ -90,5 +90,10 @@ "settingsNoRecordsText": { "message": "ningún registro encontrado" }, "settingsReportClearAllButtonText": { "message": "limpiar todos los registros" }, "checkboxZoomIn": { "message": "acercarse" }, - "checkboxApplyToDefault": { "message": "aplicar a las reglas estándar" } + "checkboxApplyToDefault": { "message": "aplicar a las reglas estándar" }, + + "checkboxShowPerformanceMetrics": { "message": "métricas de rendimiento" }, + "sortByText": { "message": "ordenar por" }, + "sortByCallsText": { "message": "ejecuciones" }, + "sortByTimeText": { "message": "tiempo" } } diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json index 94bee5b..95a7692 100644 --- a/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -7,7 +7,7 @@ "linkHelpHref": { "message": "https://gbaptista.github.io/luminous" }, "checkboxInjectionEnabledGeneral": { "message": "todos os sites" }, - "checkboxShowCodeDetails": { "message": "mostrar detalhes do código" }, + "checkboxShowCodeDetails": { "message": "detalhes do código" }, "titleHandleEvent": { "message": "eventos disparados (handleEvent)" }, "titleAddEventListener": { "message": "eventos adicionados (addEventListener)" }, @@ -90,5 +90,10 @@ "settingsNoRecordsText": { "message": "nenhum registro encontrado" }, "settingsReportClearAllButtonText": { "message": "limpar todos os registros" }, "checkboxZoomIn": { "message": "aumentar zoom" }, - "checkboxApplyToDefault": { "message": "aplicar ações às regras padrões" } + "checkboxApplyToDefault": { "message": "aplicar ações às regras padrões" }, + + "checkboxShowPerformanceMetrics": { "message": "métricas de desempenho" }, + "sortByText": { "message": "ordenar por" }, + "sortByCallsText": { "message": "execuções" }, + "sortByTimeText": { "message": "tempo gasto" } } diff --git a/css/popup/popup.css b/css/popup/popup.css index c38b506..e850dab 100644 --- a/css/popup/popup.css +++ b/css/popup/popup.css @@ -82,6 +82,24 @@ html, body { color: #FFF; } +.interceptions .calls .execution_time { + position: absolute; + bottom:-5px; + left: 50%; + margin-left: -20px; + width: 40px; + padding: 2px 0; + text-align: center; + background-color: #8D8E87; + color: #FFF; + font-style: italic; +} + +.zoom-in .interceptions .calls .execution_time { + margin-left: -29px; + width: 58px; +} + .interceptions .calls .allowed { border-left:4px solid #20b203; left: 10px; diff --git a/css/settings/settings.css b/css/settings/settings.css index 1c10b19..a8f3b52 100644 --- a/css/settings/settings.css +++ b/css/settings/settings.css @@ -3,10 +3,18 @@ html, body { text-rendering: optimizeLegibility; } +.clear { + clear: both; +} + body { padding-top: 20px; } +.bold { + font-weight: bold; +} + .alert { font-style: italic; } diff --git a/html/demo-page.html b/html/demo-page.html index 8349b66..515df8b 100644 --- a/html/demo-page.html +++ b/html/demo-page.html @@ -254,6 +254,13 @@ my_request(); + setTimeout(function(param) { + var time = performance.now(); + while((performance.now() - time) < 1500) { + 'lor123em'.replace(/\d.*/, ''); + } + }, 0); + }, 500); })(); diff --git a/html/interface-sample.html b/html/interface-sample.html index 94e1fbf..160f4fa 100644 --- a/html/interface-sample.html +++ b/html/interface-sample.html @@ -7,7 +7,7 @@
loading...
-
+
0.0.18 help settings @@ -20,12 +20,10 @@

- -
-