android / android/performance-samples

Add a sample for file IO

Aperta
#308 2 commenti 0 reazioni 1 assegnatario Rivendicata da @AjeshRPai Vedi su GitHub
Lingua principale
Kotlin
Stelle
1.4k
Fork
250
Merge medio
9m
PR unite (30g)
4

Descrizione

File I/O for macrobenchmark is tricky because of scoped storage. I'd suggest a good sample showing I/O patterns.

For providing input data, I ended up using FileProvider but it was non obvious.

Or maybe should be docs?

But it feels like there are problems that are common for real world macrobenchmark usage.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.