Source: https://seerepo.com/compare/bloomberg/memray/vs/harvard-edge/cs249r_book
Markdown source: https://seerepo.com/compare/bloomberg/memray/vs/harvard-edge/cs249r_book.md
Description: memray and cs249r_book share 4 technologies: matplotlib, seaborn, Rich, and jinja2. Both are written in Python.

# memray vs cs249r_book

memray and cs249r_book share 4 technologies: matplotlib, seaborn, Rich, and jinja2. Both are written in Python.

- [bloomberg/memray](https://seerepo.com/r/bloomberg/memray): Memray is a memory profiler for Python
- [harvard-edge/cs249r_book](https://seerepo.com/r/harvard-edge/cs249r_book): Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai

## What they share and what sets them apart

- In common: matplotlib, seaborn, Rich, jinja2
- Only in memray: Textual, @floating-ui/dom
- Only in cs249r_book: async-lru, pyzmq, requests-cache, pyarrow, anyio, jupyter-core, jupyterlab-server, tornado, Vite, React, idb, Next.js, cycler, fonttools, jupyterlab-pygments, soupsieve, tinycss2, contourpy, ipywidgets, jupyter-server-terminals, jupyterlab-widgets, matplotlib-inline, prompt-toolkit, widgetsnbextension, Plotly, argon2-cffi, argon2-cffi-bindings, groq, Ollama, OpenAI, torch, transformers, torchvision, scikit-learn, sentence-transformers, librosa, nltk, torch-geometric, bleach, defusedxml, ghostscript, markdown-it-py, markupsafe, mdurl, mistune, nbconvert, pandocfilters, pylatexenc, pypandoc, python-frontmatter, tablib, webencodings, xlrd, xlwt, xmltodict, beautifulsoup4, pillow, lxml, jupytext, nbformat, annotated-types, cattrs, fastjsonschema, fqdn, jsonschema-specifications, referencing, rfc3339-validator, rfc3986-validator, Pydantic, jsonschema, pydantic-core, prometheus-client, python-json-logger, psutil, Tailwind CSS, Mermaid, Chart.js, D3, compromise, katex, dompurify, markdown-it, markdown-it-container, jspdf, jspdf-autotable, Framer, react-medium-image-zoom, Lucide

## Side by side

| | memray | cs249r_book |
|---|---|---|
| Size | 42,417 lines written, 50 code files | 821,581 lines written, 1,977 code files |
| Who writes it | 0.2% of its commits signed by AI. With Claude Code and GitHub Copilot | 2.7% of its commits signed by AI. With Codex, Claude Code, Gemini CLI, and Cursor |
| Activity | Last push November 4, 2026, 1,439 commits, 15,417 stars | Last push November 8, 2026, 22,351 commits, 30,011 stars |
| Tests | 53 test files. 56% of its code files have a test that imports them | 629 test files. 16.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, memray or cs249r_book?

cs249r_book, with 821,581 lines written; memray has 42,417.

The proof: [harvard-edge/cs249r_book's code at commit de87c01](https://github.com/harvard-edge/cs249r_book/tree/de87c0103806d7bfb1c677dbb77a2b92fa00c298)

### Which has more GitHub stars, memray or cs249r_book?

cs249r_book, with 30,011 stars; memray has 15,417.

The proof: [harvard-edge/cs249r_book on GitHub](https://github.com/harvard-edge/cs249r_book)

### Which has more tests, memray or cs249r_book?

cs249r_book, with 629 test files; memray has 53.

The proof: [harvard-edge/cs249r_book's code at commit de87c01](https://github.com/harvard-edge/cs249r_book/tree/de87c0103806d7bfb1c677dbb77a2b92fa00c298)

### Which was updated more recently, memray or cs249r_book?

cs249r_book: its last push was on November 8, 2026, and memray's on November 4, 2026.

The proof: [harvard-edge/cs249r_book's commits on GitHub](https://github.com/harvard-edge/cs249r_book/commits)

### Which has more commits signed by AI, memray or cs249r_book?

cs249r_book: an AI signed 2.7% of its commits, with Codex, Claude Code, Gemini CLI, and Cursor; in memray, 0.2%.

The proof: [the commits each tool signed in harvard-edge/cs249r_book](https://seerepo.com/r/harvard-edge/cs249r_book/ai)

## Sources

- bloomberg/memray: Read on November 8, 2026, at commit 77d7a70 (https://github.com/bloomberg/memray/tree/77d7a705a3a7ab549e333be616dabadd105cbc73)
- harvard-edge/cs249r_book: Read on November 8, 2026, at commit de87c01 (https://github.com/harvard-edge/cs249r_book/tree/de87c0103806d7bfb1c677dbb77a2b92fa00c298)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
