go.log.slog.internal.benchmarks
1.23.1.5
dotnet add package go.log.slog.internal.benchmarks --version 1.23.1.5
NuGet\Install-Package go.log.slog.internal.benchmarks -Version 1.23.1.5
<PackageReference Include="go.log.slog.internal.benchmarks" Version="1.23.1.5" />
<PackageVersion Include="go.log.slog.internal.benchmarks" Version="1.23.1.5" />
<PackageReference Include="go.log.slog.internal.benchmarks" />
paket add go.log.slog.internal.benchmarks --version 1.23.1.5
#r "nuget: go.log.slog.internal.benchmarks, 1.23.1.5"
#:package go.log.slog.internal.benchmarks@1.23.1.5
#addin nuget:?package=go.log.slog.internal.benchmarks&version=1.23.1.5
#tool nuget:?package=go.log.slog.internal.benchmarks&version=1.23.1.5
go.log.slog.internal.benchmarks
C# package converted from the Go standard library by go2cs.
Package benchmarks contains benchmarks for slog.
These benchmarks are loosely based on github.com/uber-go/zap/benchmarks. They have the following desirable properties:
They test a complete log event, from the user's call to its return.
The benchmarked code is run concurrently in multiple goroutines, to better simulate a real server (the most common environment for structured logs).
Some handlers are optimistic versions of real handlers, doing real-world tasks as fast as possible (and sometimes faster, in that an implementation may not be concurrency-safe). This gives us an upper bound on handler performance, so we can evaluate the (handler-independent) core activity of the package in an end-to-end context without concern that a slow handler implementation is skewing the results.
We also test the built-in handlers, for comparison.
Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file. The go2cs conversion itself is distributed under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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 was computed. 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. |
-
net9.0
- go.context (>= 1.23.1.5)
- go.errors (>= 1.23.1.5)
- go.fmt (>= 1.23.1.5)
- go.io (>= 1.23.1.5)
- go.lib (>= 1.23.1.5)
- go.log.slog (>= 1.23.1.5)
- go.log.slog.internal.buffer (>= 1.23.1.5)
- go.strconv (>= 1.23.1.5)
- go.time (>= 1.23.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.