public void SimplePerformanceTest() { using (FileLog _logger = new FileLog("MetaStackBuffers.PerformanceTest", new FileLogSettings() { DateFolderMask = "yyyy-MM-dd" })) { SimpleValue s = new SimpleValue(0); DateTime start = DateTime.Now; for (int i = 0; i < 1_000_000; i++) { //var s = (ValueType)i; //var s = new string("POST"); s = new SimpleValue("POST"); } TimeSpan ts = DateTime.Now - start; _logger.Debug($"Result: Value={s.GetString()} {ts.TotalMilliseconds} ms"); } }