scalene vs ray
scalene and ray 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
ray-project
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
Python44.3kRead on November 13, 2026, at commit de4c576What is ray built with?Only in ray
- FastAPI
- aimrecords
- aimrocks
- amqp
- array-record
- arro3-core
- async-lru
- azure-common
- azure-datalake-store
- azure-storage-blob
confluent-kafka
- delta-kernel-rust-sharing-wrapper
- diskcache
expiringdict
- feather-format
- gitdb
google-cloud-core
h5py
- huey
jupyter-cache
kombu
- partd
petastorm
pickleshare
- py-partiql-parser
- pylance
- pymongo
- qpd
- s3torchconnectorclient
- s3transfer
- semidbm
- sqlitedict
taskiq
tensorboard-data-server
- zict
pyarrow
mcap
- aioboto3
- MongoDB
- Redis
- adlfs
pyiceberg
- smart-open
clickhouse-connect
daft
deltalake
- gcsfs
lance-namespace
- obstore
- Celery
delta-sharing
- fastavro
hudi
- pyzmq
- s3fs
- s3torchconnector
- taskiq-redis
zarr
- Hugging Face
- Google Cloud Storage
- Kafka
- Databricks
- adagio
- asgiref
- Flask
- flask-cors
- graphene
- graphql-core
- graphql-relay
- jupyter-core
jupyterlab-server
pygame
pymars
werkzeug
- Ray
starlette
- AIOHTTP
pyspark
- Lightning
raydp
- anyio
tornado
uvicorn
- React
react-router-dom
- accessible-pygments
- alabaster
- cycler
fonttools
jupyterlab-pygments
pydata-sphinx-theme
- soupsieve
sphinx-design
- tinycss2
- aim-ui
- alive-progress
bokeh
contourpy
- glfw
halo
- jupyter-server-terminals
- jupyterlab-widgets
- matplotlib-inline
- Plotly
prompt-toolkit
pyglet
pyopengl
- spinners
- Textual
- widgetsnbextension
- xyzservices
- Gradio
- ipywidgets
- pydot
- alembic
peewee
sqlglot
- adal
- argon2-cffi
- argon2-cffi-bindings
- azure-identity
- flask-basicauth
- gcs-oauth2-boto-plugin
google-auth-oauthlib
- google-oauth
- google-reauth
- id
itsdangerous
joserfc
- jwcrypto
- keyring
- msal
- msal-extensions
- oauth2client
oauthlib
- pyjwt
- pyu2f
requests-oauthlib
- cryptography
google-auth-httplib2
- aws-requests-auth
- albucore
- autograd
ax-platform
- bayesian-optimization
- bitsandbytes
botorch
- cma
cmdstanpy
- crcmod
cupy-cuda100
cupy-cuda12x
cupy-cuda13x
- einops
- fairscale
- fbgemm-gpu
- gpytorch
gradio-client
- gym
jaxlib
- labmaze
- LangChain
- lightning-utilities
- linear-operator
- llvmlite
lm-eval
- minigrid
- ml-dtypes
- moocore
mosaicml
nltk
- ONNX
onnx-ir
- onnxruntime
onnxscript
openai-whisper
- opt-einsum
optax
- orbax-checkpoint
peft
prophet
pymoo
pyro-ppl
- pytorch-ranger
rouge-score
- sacrebleu
safetensors
scikit-image
- sentencepiece
skops
stanio
statsforecast
tf-keras
- tiktoken
timm
tokenizers
- torch-geometric
- torch-optimizer
- torch-scatter
- torch-sparse
torchtext
- triton
- yahp
- gymnasium
- torch
- transformers
- TensorFlow
jax
torchvision
- xgboost
lightgbm
- scikit-learn
- MLflow
- datasets
- pytorch-lightning
- comet-ml
- dm-env
flax
- Keras
- torchmetrics
- aim
ale-py
configspace
deepspeed
diffusers
- dm-control
- hpbandster
- hyperopt
- nevergrad
- open-spiel
- Optuna
tensorflow-probability
- zoopt
- bleach
- defusedxml
et-xmlfile
imageio
imageio-ffmpeg
- imagesize
- jsonlines
- linkify-it-py
- mako
- markdown
markdown-it-py
markupsafe
- mdit-py-plugins
- mdurl
mistune
- moviepy
myst-parser
- nbconvert
- nh3
- openpyxl
- pandocfilters
- pytablewriter
- readme-renderer
ruamel-yaml
ruamel-yaml-clib
- strictyaml
- tinyscaler
webencodings
- xlrd
- xmltodict
pillow
- docutils
- beautifulsoup4
- decord
- nbformat
- torchcodec
- annotated-types
- fastjsonschema
- fqdn
- jsonschema-path
- jsonschema-specifications
- openapi-spec-validator
- pathvalidate
- referencing
- rfc3339-validator
- rfc3986
- rfc3986-validator
- typepy
- validators
- jsonschema
- aiobotocore
- applicationinsights
- aws-sam-translator
aws-xray-sdk
- azure-cli-core
- azure-cli-telemetry
- azure-core
- azure-mgmt-compute
- azure-mgmt-core
- azure-mgmt-network
- azure-mgmt-resource
- azure-mgmt-resource-deployments
- boto
- cloud-tpu-diagnostics
- colorlog
- execnet
google-cloud-audit-log
- Gunicorn
- log-symbols
- ml-goodput-measurement
- msrestazure
- opencensus-context
opentelemetry-instrumentation
opentelemetry-instrumentation-asgi
opentelemetry-semantic-conventions
opentelemetry-util-http
- python-json-logger
- supervisor
- boto3
- botocore
prometheus-client
- pybuildkite
- OpenTelemetry
kubernetes
opentelemetry-exporter-prometheus
- docker
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-instrumentation-fastapi
- ray-haproxy
- typeface-roboto
- MUI
usehooks-ts
- lowlight
react-window
react-icons
- @mui/icons-material
- js-yaml
Side by side
scaleneray
SizeLines written by people and agents, without generated ones; code files, without tests.
scalene60,118 lines written87 code files
ray1,566,356 lines written2,810 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
ray3.7% of its commits signed by AIWith Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex
ActivityFrom GitHub and its history, on the day SeeRepo read it.
scaleneLast push November 9, 20263,270 commits13,555 stars
rayLast push November 13, 202632,468 commits44,282 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
ray2,208 test files9.4% of its code files have a test that imports them
Frequently asked questions
Which is bigger, scalene or ray?
ray, with 1,566,356 lines written; scalene has 60,118.
The proof: ray-project/ray's code at commit de4c576
Which has more GitHub stars, scalene or ray?
ray, with 44,282 stars; scalene has 13,555.
The proof: ray-project/ray on GitHub
Which has more tests, scalene or ray?
ray, with 2,208 test files; scalene has 237.
The proof: ray-project/ray's code at commit de4c576
Which was updated more recently, scalene or ray?
ray: its last push was on November 13, 2026, and scalene's on November 9, 2026.
The proof: ray-project/ray's commits on GitHub
Which has more commits signed by AI, scalene or ray?
scalene: an AI signed 4% of its commits, with Claude Code and GitHub Copilot; in ray, 3.7%.
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.

