# bahmutov/code-snippets

Chrome DevTools code snippets

Repository: https://github.com/bahmutov/code-snippets
Canonical: https://ross.abutalabs.com/products/code-snippets
Language: JavaScript
License Family: other
Topics: chrome-devtools, snippets
Last push: 2017-07-16T12:53:04+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4334, "days_push": 3335, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1822, forks 196 (observed 2026-08-28T04:05:41.084504+00:00)

## What it is
A collection of JavaScript code snippets designed to be run in Chrome DevTools for performance profiling, debugging, and testing web pages. It includes snippets for measuring page load timing, profiling method calls, and testing script injection security.

## Use cases
- measure first paint time of a web page
- profile a single method call in the browser
- test whether a page allows inline script injection
- get detailed page timing information in DevTools
- debug and explore web app performance in Chrome

## When to avoid
- you need a maintained tool with ongoing updates (last release 2017)
- you need automated performance monitoring rather than manual DevTools snippets
- you need a solution for browsers other than Chrome

## Facets
- artifact type: library
- maturity: abandoned
- function: developer-tools, testing, monitoring, security
- domain: developer-tools, web-development, performance, testing
- platform: browser
- tags: chrome-devtools, code-snippets, debugging, performance-profiling, browser-tools, javascript

## Member repositories
- bahmutov/code-snippets (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:41.084504+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-30T03:19:48.115021+00:00, confidence not recorded.
  - readme: https://github.com/bahmutov/code-snippets (fetched 2026-08-28T04:05:41.084504+00:00, sha 9dca25c5ac3f)
  - registry_npm: https://registry.npmjs.org/code-snippets (fetched 2026-08-29T10:58:49.132208+00:00, sha 0c70865cfd23)
- Data as of 2026-08-30T08:39:29.467469+00:00.
