Remove benchmark code
MODIFY
WalletWasabi.Fluent/Global.cs
WalletWasabi.Fluent/Global.cs
@@ -18,18 +18,18 @@ using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.CoinJoin.Client;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
+using WalletWasabi.Rpc;
using WalletWasabi.Services;
using WalletWasabi.Services.Terminate;
using WalletWasabi.Stores;
-using WalletWasabi.Rpc;
using WalletWasabi.Tor;
using WalletWasabi.Tor.Socks5.Pool.Circuits;
+using WalletWasabi.Tor.StatusChecker;
using WalletWasabi.WabiSabi.Client;
+using WalletWasabi.WabiSabi.Client.RoundStateAwaiters;
using WalletWasabi.Wallets;
using WalletWasabi.WebClients.BlockstreamInfo;
using WalletWasabi.WebClients.Wasabi;
-using WalletWasabi.WabiSabi.Client.RoundStateAwaiters;
-using WalletWasabi.Tor.StatusChecker;
namespace WalletWasabi.Fluent;
@@ -69,8 +69,6 @@ public class Global
private IndexStore IndexStore { get; }
public Global(string dataDir, Config config, UiConfig uiConfig, WalletManager walletManager)
- {
- using (BenchmarkLogger.Measure())
{
DataDir = dataDir;
Config = config;
@@ -115,7 +113,6 @@ public class Global
ExpirationScanFrequency = TimeSpan.FromSeconds(30)
});
}
- }
/// <remarks>Use this variable as a guard to prevent touching <see cref="StoppingCts"/> that might have already been disposed.</remarks>
private volatile bool _disposeRequested;

Remove benchmark code