scalene vs llama_index
scalene and llama_index share 5 technologies: Rich, lxml, jinja2, Pydantic, and psutil. Both are written in Python.
What they share and what sets them apart
plasma-umass
scalene
Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals
Python13.6kRead on November 9, 2026, at commit ba0896dWhat is scalene built with?Only in scalene
In common
run-llama
llama_index
LlamaIndex is the document processing platform for AI
Python52.9kRead on November 13, 2026, at commit baeabbfWhat is llama_index built with?Only in llama_index
starlette
- aiomysql
- aiosqlite
- async-lru
- asyncpg
- azure-cosmos
- azure-data-tables
- azure-search-documents
- azure-storage-blob
- ibm-db
- nebula3-python
- oss2
pgml
- pgvecto-rs
- pgvector
pickleshare
psycopg
psycopg2-binary
pyathena
- pydrive
- pylance
- pymongo
python-arango
pyvespa
- pyzmq
- Redis
snowflake-sqlalchemy
- tantivy
weaviate-client
- Neo4j
- aioboto3
pyarrow
lancedb
oracledb
- DuckDB
- pymilvus
- pysolr
- SQLite
- tablestore
- aperturedb
- astrapy
chromadb
- dashvector
falkordb
- jaguardb-http-client
- MySQL
pinecone
clickhouse-connect
- couchdb3
- gcsfs
opendal
opengauss-sqlalchemy
- pyairtable
pyiceberg
pymochow
- pymysql
- pyobvector
- s3fs
singlestoredb
- tcvectordb
typesense
- ElevenLabs
- anyio
- graphql-core
- jupyter-core
jupyterlab-server
tornado
- AIOHTTP
- Ray
jupyterlab-pygments
- soupsieve
- tinycss2
- ipywidgets
- jupyter-server-terminals
- jupyterlab-widgets
- matplotlib-inline
prompt-toolkit
- widgetsnbextension
matplotlib
- SQLAlchemy
- argon2-cffi
- argon2-cffi-bindings
- azure-identity
google-auth-httplib2
google-auth-oauthlib
- cryptography
- pyjwt
- msal
- argilla
- azure-ai-agents
- azure-ai-inference
- azure-ai-projects
contextual-client
- diff-cover
- einops
firecrawl-py
friendli-client
- guardrails-ai
llama-cpp-python
llama-index-core
- llama-index-embeddings-dashscope
- llama-index-embeddings-huggingface
- llama-index-embeddings-openai
- llama-index-llms-anthropic
- llama-index-llms-azure-openai
- llama-index-llms-huggingface
- llama-index-llms-llama-cpp
- llama-index-llms-openai
- llama-index-llms-openai-like
- llama-index-node-parser-dashscope
- llama-index-program-guidance
- llama-index-readers-dashscope
- llama-index-readers-database
- llama-index-readers-remote
- llama-index-readers-upstage
- llama-index-readers-web
- llama-index-response-synthesizers-google
- llama-index-utils-azure
- llama-index-utils-huggingface
- llama-index-utils-qianfan
- llama-index-vector-stores-google
- llama-index-workflows
- mem0ai
- ms-swift
- open-clip-torch
OpenAIopencv-python
- openinference-instrumentation-llama-index
- openvino-tokenizers
- PaddlePaddle
portkey-ai
- reka-api
- tavily-python
- typecast-python
- torch
llama-index-instrumentation
- transformers
- ibm-watsonx-ai
cohere
- LangChain
- tiktoken
- bedrock-agentcore
- MCP
sentence-transformers
dashscope
fastembed
- flagembedding
- llama-cloud
nltk
optimum-intel
- sentencepiece
- ai21
aleph-alpha-client
chonkie
- gigachat
- guidance
igptai
- konko
litellm
- mixedbread
- ModelScope
- octoai
- Ollama
- openvino
- openvino-genai
premai
- scikit-learn
- tritonclient
- vLLM
- voyageai
- zep-python
- zhipuai
- agent-search
- aimon
argilla-llama-index
assemblyai
- bm25s
browserbase
cleanlab-tlm
cognee
- colpali-engine
- datasets
- exa-py
flashrank
- hnswlib
honeyhive
- instructorembedding
isaacus
langfuse
llmlingua
- llmsherpa
- marvin
mlx
- mlx-lm
nomic
notdiamond
optimum
optimum-habana
- paddleocr
peft
presidio-analyzer
presidio-anonymizer
promptlayer
- psychicapi
- pydi-client
- rank-llm
- span-marker
- superlinked
tokenizers
uptrain
vectorize-client
videodb
- beautifulsoup4
- bleach
camelot-py
- ghostscript
- llama-index-readers-file
- llama-index-readers-youtube-transcript
- maincontentextractor
marker-pdf
markupsafe
mistune
- nbformat
- newspaper3k
nougat-ocr
- pandocfilters
webencodings
- xlrd
pillow
- bs4
- html2text
unstructured
- defusedxml
pymupdf
- filetype
- bagel
- docx2txt
- markdownify
olefile
- pytesseract
dgml-utils
docling
- layoutir
- llama-parse
- lxml-html-clean
- markitdown
- nbconvert
- pdf2image
- pdfplumber
pypdf
pypdf2
- striprtf
- svglib
- tika
tinytag
- youtube-transcript-api
- fastjsonschema
- fqdn
- jsonschema-specifications
marshmallow
- referencing
- rfc3339-validator
- rfc3986-validator
docling-core
- annotated-types
- jsonschema
opentelemetry-semantic-conventions
prometheus-client
- python-json-logger
- boto3
- Alibaba Cloud
- oci
- OpenTelemetry
Side by side
scalenellama_index
SizeLines written by people and agents, without generated ones; code files, without tests.
scalene60,118 lines written87 code files
llama_index473,258 lines written2,055 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
scalene4% of its commits signed by AIWith Claude Code and GitHub Copilot
llama_index0.2% of its commits signed by AIWith Claude Code, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
scaleneLast push November 9, 20263,270 commits13,555 stars
llama_indexLast push November 11, 20267,967 commits52,885 stars
TestsThe files that test the code, and the share of code files a test imports.
scalene237 test files50.6% of its code files have a test that imports them
llama_index1,607 test files46.5% of its code files have a test that imports them
Frequently asked questions
Which is bigger, scalene or llama_index?
llama_index, with 473,258 lines written; scalene has 60,118.
Which has more GitHub stars, scalene or llama_index?
llama_index, with 52,885 stars; scalene has 13,555.
The proof: run-llama/llama_index on GitHub
Which has more tests, scalene or llama_index?
llama_index, with 1,607 test files; scalene has 237.
Which was updated more recently, scalene or llama_index?
llama_index: its last push was on November 11, 2026, and scalene's on November 9, 2026.
The proof: run-llama/llama_index's commits on GitHub
Which has more commits signed by AI, scalene or llama_index?
scalene: an AI signed 4% of its commits, with Claude Code and GitHub Copilot; in llama_index, 0.2%.
The proof: the commits each tool signed in plasma-umass/scalene
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

