Skip to content
PHP Ecosystem
Explore

ProfileMessage

API reference › Debug Core › Panel › Profile › ProfileMessage

enumPHPForge\Debug\Panel\Profile\ProfileMessage
Backed bystring
Sourcesrc/Panel/Profile/ProfileMessage.php

Presentation text of the Profiling panel, shared by every adapter that renders it.

CaseValueDescription
APPLY'Apply'Label of the filter form submit button.
CATEGORY'Category'Label of the category filter.
CATEGORY_PLACEHOLDER'yii\db\Command::query'Placeholder of the category filter, showing the category of an instrumented database query.
DETAILS'Details'Heading above the captured span table.
EMPTY_CALL_TO_ACTION'To populate this view, wrap interesting sections of code with profile ' . 'markers:'Call to action of the empty state, introducing the profile marker example.
EMPTY_DB_NOTE'Database queries are profiled automatically when the DB collector is configured.'Closing note of the empty state, pointing at the automatically profiled database queries.
EMPTY_EXAMPLE"\$profiler->begin('my-token');\n// …work…\n\$profiler->end('my-token');"Code sample of the empty state, shown below the call to action.
EMPTY_HEADLINE'No profiling data captured'Headline of the empty state when the request captured no profiling span.
EMPTY_NO_SPANS' spans, so the Timeline and details are empty.'Closing sentence of the empty state, following the profile markers it names.
EMPTY_PRODUCED'This request did not produce any 'Opening sentence of the empty state, preceding the profile markers it names.
EMPTY_SEPARATOR' / 'Separator between the two profile markers named in the empty state.
FILTERS'Profiling filters'Accessible label of the filter form.
INFO'Info'Label of the info filter.
INFO_PLACEHOLDER'SELECT'Placeholder of the info filter, showing the leading verb of an instrumented statement.
MIN_DURATION'Min duration (ms)'Label of the minimum-duration filter.
NO_MATCH_EXPLANATION'Adjust or clear the filters to show the captured spans.'Explanation of the no-match state, offering the filter reset.
NO_MATCH_HEADLINE'No spans match the active filters'Headline of the no-match state when the active filters exclude every captured span.
PEAK_SUFFIX' peak'Suffix appended to the peak memory in the summary header.
SPAN_SUFFIX' span'Suffix appended to a single captured span in the summary header.
SPANS_SUFFIX' spans'Suffix appended to the captured span count in the summary header.
TIMELINE_UNAVAILABLE_DETAILS'The profiling details remain available below.'Closing note of the timeline fallback, pointing at the profiling details below the chart.
TIMELINE_UNAVAILABLE_EXPLANATION'This capture does not contain the valid request start, ' . 'duration, and peak-memory values required to position the chart.'Explanation of the timeline fallback, naming the capture values the chart requires.
TIMELINE_UNAVAILABLE_HEADLINE'Timeline unavailable'Headline of the timeline fallback when the capture cannot position the chart.
TOOLBAR_MEMORY'Peak memory'Title of the toolbar chip reporting the peak memory.
TOOLBAR_TIME'Total processing time'Title of the toolbar chip reporting the total processing time.
TOTAL_SUFFIX' total'Suffix appended to the total processing time in the summary header.