Skip to content

feat: add staging build type for release-performance on-device testing#591

Open
Letdown2491 wants to merge 1 commit into
barrydeen:mainfrom
Letdown2491:feat/staging-build-type
Open

feat: add staging build type for release-performance on-device testing#591
Letdown2491 wants to merge 1 commit into
barrydeen:mainfrom
Letdown2491:feat/staging-build-type

Conversation

@Letdown2491

Copy link
Copy Markdown
Contributor

Non-debuggable + R8-minified like release (initWith(release)), but debug-signed so anyone can install it without the release keystore. applicationIdSuffix ".staging" and app name "Wisp Staging" let it install alongside debug and release builds.

debuggable=true makes ART ignore the baseline profile and run JIT-only with deoptimization support, which cripples the per-event hot path (JSON parse, hex decode, SHA-256, JNI Schnorr verify per relay event) -- so debug builds can't be used to judge real performance.

Port of barrydeen/dark-wisp-android#24.

Non-debuggable + R8-minified like release (initWith(release)), but
debug-signed so anyone can install it without the release keystore.
applicationIdSuffix ".staging" and app name "Wisp Staging" let it
install alongside debug and release builds.

debuggable=true makes ART ignore the baseline profile and run
JIT-only with deoptimization support, which cripples the per-event
hot path (JSON parse, hex decode, SHA-256, JNI Schnorr verify per
relay event) -- so debug builds can't be used to judge real
performance.

Port of barrydeen/dark-wisp-android#24.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant