misc: Don't benchmark everything; correct README

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-05-22 18:18:14 +02:00
parent cd3596b6e7
commit e3bf492c97
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 33 additions and 33 deletions

View file

@ -2,7 +2,7 @@
----
[![Drone Build Status](https://ci.git.froth.zone/api/badges/sam/Xdg.Net/status.svg)](https://ci.git.froth.zone/sam/Xdg.Net)
[![GitHub Actions Build](https://github.com/xdg-net/Xdg.Net/actions/workflows/build-test.yaml/badge.svg)](https://github.com/xdg-net/Xdg.Net/actions/workflows/build-test.yaml)
[![GitHub Actions CodeQL](https://github.com/xdg-net/Xdg.Net/actions/workflows/codeql.yml/badge.svg)](https://github.com/xdg-net/Xdg.Net/actions/workflows/codeql.yml)
[![GitHub Actions CodeQL](https://github.com/xdg-net/Xdg.Net/actions/workflows/codeql.yaml/badge.svg)](https://github.com/xdg-net/Xdg.Net/actions/workflows/codeql.yaml)
![Nuget](https://img.shields.io/nuget/v/Xdg.Net)

View file

@ -14,45 +14,45 @@ type Benchmarks() =
// Base Directory
[<Benchmark>]
member _.DataHome () = BaseDirectory.DataHome
[<Benchmark>]
member _.ConfigHome () = BaseDirectory.ConfigHome
[<Benchmark>]
member _.StateHome () = BaseDirectory.StateHome
[<Benchmark>]
member _.BinHome () = BaseDirectory.BinHome
[<Benchmark>]
member _.DataDirs () = BaseDirectory.DataDirs
[<Benchmark>]
member _.ConfigDirs () = BaseDirectory.ConfigDirs
[<Benchmark>]
member _.CacheHome () = BaseDirectory.CacheHome
[<Benchmark>]
member _.RuntimeDir() = BaseDirectory.RuntimeDir
// [<Benchmark>]
// member _.ConfigHome () = BaseDirectory.ConfigHome
// [<Benchmark>]
// member _.StateHome () = BaseDirectory.StateHome
// [<Benchmark>]
// member _.BinHome () = BaseDirectory.BinHome
// [<Benchmark>]
// member _.DataDirs () = BaseDirectory.DataDirs
// [<Benchmark>]
// member _.ConfigDirs () = BaseDirectory.ConfigDirs
// [<Benchmark>]
// member _.CacheHome () = BaseDirectory.CacheHome
// [<Benchmark>]
// member _.RuntimeDir() = BaseDirectory.RuntimeDir
// User Directories
[<Benchmark>]
member _.DesktopDir () = UserDirectory.DesktopDir
[<Benchmark>]
member _.DownloadDir () = UserDirectory.DownloadDir
// [<Benchmark>]
// member _.DesktopDir () = UserDirectory.DesktopDir
// [<Benchmark>]
// member _.DownloadDir () = UserDirectory.DownloadDir
[<Benchmark>]
member _.DocumentsDir () = UserDirectory.DocumentsDir
[<Benchmark>]
member _.MusicDir () = UserDirectory.MusicDir
[<Benchmark>]
member _.PicturesDir () = UserDirectory.PicturesDir
[<Benchmark>]
member _.VideosDir () = UserDirectory.VideosDir
[<Benchmark>]
member _.TemplatesDir () = UserDirectory.TemplatesDir
[<Benchmark>]
member _.PublicDir () = UserDirectory.PublicDir
// [<Benchmark>]
// member _.MusicDir () = UserDirectory.MusicDir
// [<Benchmark>]
// member _.PicturesDir () = UserDirectory.PicturesDir
// [<Benchmark>]
// member _.VideosDir () = UserDirectory.VideosDir
// [<Benchmark>]
// member _.TemplatesDir () = UserDirectory.TemplatesDir
// [<Benchmark>]
// member _.PublicDir () = UserDirectory.PublicDir
// Other
[<Benchmark>]
member _.Home () = Other.Home
[<Benchmark>]
member _.Applications () = Other.Applications
[<Benchmark>]
member _.Fonts () = Other.Fonts
// [<Benchmark>]
// member _.Applications () = Other.Applications
// [<Benchmark>]
// member _.Fonts () = Other.Fonts
BenchmarkRunner.Run<Benchmarks>() |> ignore