c78f2d3e27
Each session rewrites benchmarks/launcher-<time>-session.json in the data folder (report format v1): start to first frame, release list fetch, install/update and prepare durations, Play to the game's first frame (the game now logs its first frame), RSS, UI frame times, binary size. horizon-launcher benchmark starts the launcher N times (cold, then warm), switches pages, measures idle CPU and memory and the release list fetch, and writes one report with means and 95% CIs. Nothing is uploaded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.6 KiB
TOML
46 lines
1.6 KiB
TOML
[package]
|
|
name = "horizon-launcher"
|
|
version = "0.1.5"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Downloads, prepares and starts Horizon builds"
|
|
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
gpui = "0.2.2"
|
|
ureq = { version = "2", features = ["json", "tls"], default-features = false }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
pulldown-cmark = { version = "0.12", default-features = false }
|
|
flate2 = "1"
|
|
tar = { version = "0.4", default-features = false }
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
dirs = "5"
|
|
self-replace = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
horizon-theme = { path = "../crates/horizon-theme" }
|
|
horizon-prepare = { path = "../crates/horizon-prepare" }
|
|
# Join a friend: invite codes (the game does the joining).
|
|
horizon-friends = { path = "../crates/horizon-friends" }
|
|
horizon-bench = { path = "../crates/horizon-bench" }
|
|
# The session file's random name.
|
|
getrandom = "0.3"
|
|
|
|
# Microsoft account secrets in the OS keychain: the Secret Service on Linux through oo7 (the same
|
|
# build gpui uses), Keychain and Credential Manager through keyring.
|
|
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
|
|
oo7 = { version = "0.5", default-features = false, features = ["async-std", "native_crypto"] }
|
|
futures-lite = "2"
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
keyring = { version = "3", features = ["apple-native"] }
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
keyring = { version = "3", features = ["windows-native"] }
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
# The icon resource in the .exe (build.rs).
|
|
winresource = "0.1"
|
|
|
|
[profile.release]
|
|
strip = true
|