Roofline
A simple script to plot the Roofline model for given HW platforms and applications
Install / Use
/learn @mohamed/RooflineREADME
Roofline.py
This is a simple script to plot the Roofline model of given HW platforms and given applications. The script can take its input from:
stdin: In this case, it reads first the HW characteristics followed by aEOF. Then, you will be prompted to enter the applications' intensities followed by anEOF.- files: In this case, it reads two comma-separated values (CSV) files; one for HW and the other for the applications.
In addition, it supports plotting different implementations per application. In
this case, the different implementations are provided as pairs of name, throughput_in_gflops after
the application intensity (i.e., additional values in the csv file). For an
example, see apps.csv.
Requirements
You need:
- Python 3.6 or higher with:
numpyandmatplotlib. Tested with Python 3.6 and 3.11
Screenshot

License
BSD license shown in LICENSE
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
