GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - spylogsster/browser-telemetry-benchmark

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
HOWTO.md
HOWTO.md
 
 
README.md
README.md
 
 
bench.py
bench.py
 
 

Repository files navigation

Browser Telemetry Benchmark 📡

Measures browser telemetry: which domains a browser contacts on cold start and during idle.

Requirements

  • macOS (Linux should also work)
  • Python 3.10+
  • tshark (brew install wireshark)
  • Root privileges (for packet capture)

Usage

Measuring a single browser

sudo python3 bench.py run --browser "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"

With parameters

sudo python3 bench.py run \
  --browser "/Applications/Yandex.app/Contents/MacOS/Yandex" \
  --duration 180 \        # total measurement time (sec)
  --idle 90 \             # idle time (cold start)
  --url "https://ya.ru"   # URL to load after idle

Comparing results

# Run several browsers
sudo python3 bench.py run -b "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
sudo python3 bench.py run -b "/Applications/Yandex.app/Contents/MacOS/Yandex"
sudo python3 bench.py run -b "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"

# Compare
python3 bench.py compare results/*.json -o results/comparison.md

How it works

  1. Starts tshark — captures all network packets
  2. Launches the browser with a clean profile (no extensions, no sync)
  3. Waits during idle — measures what the browser sends "on its own" during cold start
  4. (Optionally) loads a URL and measures the active phase
  5. Analyzes the pcap — DNS queries, TLS handshakes, traffic volume
  6. Classifies domains — telemetry/tracking vs. functional
  7. Generates a report — Markdown + JSON

Output files

In the results/ folder:

  • BrowserName_TIMESTAMP.pcap — raw traffic dump
  • BrowserName_TIMESTAMP.md — human-readable report
  • BrowserName_TIMESTAMP.json — machine-readable data
  • comparison.md — comparison table (after compare)

Known telemetry domains

The tool recognizes 50+ telemetry domain patterns for:

  • Google (Chrome)
  • Yandex (Yandex Browser)
  • Brave
  • Mozilla (Firefox)
  • Microsoft (Edge)

Example output

| Metric                  | Chrome | Yandex | Brave | Vacuum |
|-------------------------|--------|--------|-------|--------|
| Total domains           | 23     | 31     | 15    | 3      |
| Telemetry domains       | **12** | **18** | **7** | **0**  |
| Telemetry connections   | **34** | **47** | **12**| **0**  |
| Total traffic (KB)      | 284.3  | 412.7  | 156.2 | 12.4   |

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.