added tool for profiling code

This commit is contained in:
AUTOMATIC1111
2024-06-09 21:18:36 +03:00
parent aafbb5b403
commit 57e6d05a43
5 changed files with 78 additions and 5 deletions

View File

@@ -279,7 +279,7 @@ input[type="checkbox"].input-accordion-checkbox{
display: inline-block;
}
.html-log .performance p.time, .performance p.vram, .performance p.time abbr, .performance p.vram abbr {
.html-log .performance p.time, .performance p.vram, .performance p.profile, .performance p.time abbr, .performance p.vram abbr {
margin-bottom: 0;
color: var(--block-title-text-color);
}
@@ -291,6 +291,10 @@ input[type="checkbox"].input-accordion-checkbox{
margin-left: auto;
}
.html-log .performance p.profile {
margin-left: 0.5em;
}
.html-log .performance .measurement{
color: var(--body-text-color);
font-weight: bold;