# nolanlawson/marky

High-resolution JavaScript timer based on performance.mark/measure (491 bytes min+gz)

Repository: https://github.com/nolanlawson/marky
Canonical: https://ross.abutalabs.com/products/marky
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2026-02-28T01:44:16+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 35, longevity 100
- inputs: {"age_days": 3576, "days_push": 187, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1094, forks 24 (observed 2026-08-28T04:03:33.851261+00:00)

## What it is
A tiny (491 bytes) JavaScript timer library built on the User Timing API's performance.mark() and performance.measure(), with fallbacks to performance.now(), Date.now(), or process.hrtime() in Node. It provides high-resolution timings and produces PerformanceEntries that show up as visualizations in browser DevTools and performance tools.

## Use cases
- measure how long a javascript function takes to run
- add high-resolution timing to browser code
- visualize custom performance measurements in chrome devtools
- replace console.time with a more accurate timer
- collect performance entries to send to analytics
- benchmark code in node with high-resolution time

## When to choose
- you need accurate, high-resolution timing in the browser or node
- you want measurements to appear in the browser performance timeline and devtools
- bundle size matters and you want a sub-1KB timer

## When to avoid
- you need full profiling, tracing, or APM rather than simple timers
- you need benchmarking with statistical analysis of repeated runs
- your environment lacks the User Timing API and you don't want fallback-level accuracy

## Facets
- artifact type: library
- maturity: stable
- function: benchmarking, monitoring
- domain: developer-tools, performance, web-development
- platform: browser
- tags: user-timing-api, stopwatch, performance-measurement, tiny-library, nodejs, javascript

## Member repositories
- nolanlawson/marky (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.851261+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:38.045782+00:00, confidence not recorded.
  - readme: https://github.com/nolanlawson/marky (fetched 2026-08-28T04:03:33.851261+00:00, sha 47b30ae11050)
  - registry_npm: https://registry.npmjs.org/marky (fetched 2026-08-29T12:50:39.260262+00:00, sha fffdc1490460)
- Data as of 2026-08-30T08:39:29.467469+00:00.
