PluginStats
What Settings › Plugins shows about how a plugin behaves: how often its hooks ran, how long they took, and what they answered.
Properties
Section titled “Properties”amendments
Section titled “amendments”readonly amendments: number;The number of times that the plugin replaced a change by another one.
readonly calls: number;The number of times that the app called a hook of the plugin.
deferrals
Section titled “deferrals”readonly deferrals: number;The number of times that the plugin asked the app to wait for an answer.
errors
Section titled “errors”readonly errors: readonly ErrorRecord[];The errors that the code of the plugin threw.
readonly hooks: Readonly<Record<string, HookStats>>;The same counts, broken down by hook.
notices
Section titled “notices”readonly notices: number;The number of messages that the plugin displayed to the person.
overruns
Section titled “overruns”readonly overruns: number;The number of calls that took longer than the 4 milliseconds that a hook is allowed.
readonly p50: number;The median duration of a call, in milliseconds: half of the calls were faster than this value.
readonly p95: number;The duration that 95 percent of the calls did not exceed, in milliseconds.
plugin
Section titled “plugin”readonly plugin: string;The id of the plugin.
vetoes
Section titled “vetoes”readonly vetoes: number;The number of times that the plugin refused a change.
