Timestamps 1.0.12
dotnet add package Timestamps --version 1.0.12
NuGet\Install-Package Timestamps -Version 1.0.12
<PackageReference Include="Timestamps" Version="1.0.12" />
<PackageVersion Include="Timestamps" Version="1.0.12" />
<PackageReference Include="Timestamps" />
paket add Timestamps --version 1.0.12
#r "nuget: Timestamps, 1.0.12"
#:package Timestamps@1.0.12
#addin nuget:?package=Timestamps&version=1.0.12
#tool nuget:?package=Timestamps&version=1.0.12
Timestamps
Simple class with start time, end time, and total time, useful for measuring operational runtime.
Timestamps provides a simple class that allows you to record start time, end time, and gather total runtime for a given operation.
New in v1.0.12
- Fixed duplicate key exception when
AddMessageis called rapidly or concurrently - Retargeted to net8.0 and net10.0
- Added Touchstone-based test projects (Test.Shared, Test.Automated, Test.Xunit)
Help or Feedback
Need help or have feedback? Please file an issue here!
Simple Examples
using Timestamps;
void Main(string[] args)
{
Timestamp ts = new Timestamp();
ts.Start = DateTime.UtcNow;
ts.End = DateTime.UtcNow.AddSeconds(10);
Console.WriteLine("Total milliseconds: " + ts.TotalMs + "ms");
// add log messages
ts.AddMessage("Hello, world!");
ts.AddMessage("Hello, but a different world!");
Dictionary<DateTime, string> messages = ts.Messages;
// add metadata
ts.Metadata = myObject; // anything you like
}
Version History
Please refer to CHANGELOG.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Timestamps:
| Package | Downloads |
|---|---|
|
Watson
Simple, fast, async C# web server for handling REST requests with unified 7.x protocol architecture targeting .NET Standard 2.1, .NET 8, and .NET 10. |
|
|
RestWrapper
Simple, easy HTTP REST API client for integrating and consuming services in C#. |
|
|
Watson.Core
Core library for Watson 7.x shared semantics, routing, lifecycle, and protocol configuration targeting .NET 8 and .NET 10. |
|
|
HttpServerLite
User-space HTTP and HTTPS server without http.sys written in C#. Please visit the project site README for details on implementation. |
|
|
LiteGraph
LiteGraph is a property graph database with support for graph relationships, tags, labels, metadata, data, and vectors. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Timestamps:
| Repository | Stars |
|---|---|
|
dotnet/WatsonWebserver
Watson is the fastest, easiest way to build scalable RESTful web servers and services in C#.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.12 | 139 | 4/7/2026 |
| 1.0.11 | 63,958 | 1/7/2025 |
| 1.0.10 | 221 | 1/7/2025 |
| 1.0.9 | 30,173 | 5/21/2024 |
| 1.0.8 | 17,892 | 3/27/2024 |
| 1.0.7 | 261 | 3/27/2024 |
| 1.0.6 | 11,626 | 11/25/2023 |
| 1.0.5 | 11,135 | 10/21/2023 |
| 1.0.4 | 715 | 10/16/2023 |
| 1.0.3 | 1,561 | 9/26/2023 |
| 1.0.2 | 43,521 | 5/18/2023 |
| 1.0.1 | 834 | 5/8/2023 |
| 1.0.0 | 459 | 4/7/2023 |
Initial release