← Demos
Speed and memory
Resume a 366 MB session
pig opens a 366 MB session file and answers; /usr/bin/time prints the peak memory of the run.
What you are seeing
- resume-365.jsonl is 366 MB (15,969 turns), made by the generator that produced the benchmark's session files.
- pig --session resume-365.jsonl -p 'Say hello' resumes the whole session and answers one question. The model is scripted.
- /usr/bin/time prints the peak memory and the elapsed time of this one run. This is one run in print mode on a shared host; the median of 15 runs in the terminal UI, against Pi, is on the Benchmarks page.
Try it yourself
Resume a session file and print the peak memory
/usr/bin/time -f 'peak memory %M KiB, %e s' pig --session resume-365.jsonl -p 'Say hello'
Files: MP4 · WebM · Captions (VTT) · PiG source