mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
refactoring stopwatch
This commit is contained in:
@@ -176,7 +176,7 @@ namespace Wox.Core.Plugin
|
||||
try
|
||||
{
|
||||
var metadata = pair.Metadata;
|
||||
var milliseconds = Stopwatch.Normal($"Plugin.Query cost for {metadata.Name}", () =>
|
||||
var milliseconds = Stopwatch.Debug($"Plugin.Query cost for {metadata.Name}", () =>
|
||||
{
|
||||
results = pair.Plugin.Query(query) ?? results;
|
||||
UpdatePluginMetadata(results, metadata, query);
|
||||
|
||||
Reference in New Issue
Block a user