Skip to content

Instantly share code, notes, and snippets.

@cdata
cdata / cloudflare.html
Created August 31, 2011 22:36
Sample CloudFlareJS Configuration and Embeddable Snippets
<!-- CloudFlareJS live deployment snippet -->
<script type="text/javascript">
//<![CDATA[
/* Options reference
*
* verbose boolean Toggles verbose logging.
* p int Timestamp prior to which cached content is invalid.
* byc boolean Set to true to bypass local storage caching.
* bag string The path prefix for the bag endpoint.
* owl string The path prefix for the owl endpoint. Set falsey to disable.
@larahogan
larahogan / app-perf.md
Last active May 7, 2021 01:18
Native app performance metrics

Native app performance metrics

This is a draft list of what we're thinking about measuring in Etsy's native apps.

Currently we're looking at how to measure these things with Espresso and Kif (or if each metric is even possible to measure in an automated way). We'd like to build internal dashboards and alerts around regressions in these metrics using automated tests. In the future, we'll want to measure most of these things with RUM too.

Overall app metrics

  • App launch time - how long does it take between tapping the icon and being able to interact with the app?
  • Time to complete critical flows - using automated testing, how long does it take a user to finish the checkout flow, etc.?
  • Battery usage, including radio usage and GPS usage
  • Peak memory allocation