mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Add custom context menu setting for findfile plugin and improve the search speed.
This commit is contained in:
@@ -39,9 +39,10 @@ namespace Wox.Test
|
||||
Console.WriteLine(string.Format("Index: {0}M", (newWorkingSet - oldWorkingSet)/(1024*1024)));
|
||||
|
||||
oldWorkingSet = System.Diagnostics.Process.GetCurrentProcess().WorkingSet64;
|
||||
MFTSearcher.Search("q");
|
||||
List<MFTSearchRecord> mftSearchRecords = MFTSearcher.Search("q");
|
||||
newWorkingSet = System.Diagnostics.Process.GetCurrentProcess().WorkingSet64;
|
||||
Console.WriteLine(string.Format("Search: {0}M", (newWorkingSet - oldWorkingSet) / (1024 * 1024)));
|
||||
Console.WriteLine(string.Format("Search results: {0}",mftSearchRecords.Count));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user