rust-lang / rust-lang/rust-playground

improvement: show peak mem usage and instructions executed count

Open
#680 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Rust
Stars
1.4k
Forks
267
Avg merge
3h 2m
Merged PRs (30d)
6

Description

it would be really cool to be able to get some feedback on whether changing some code had an effect on mem usage or instructions executed. I am guessing the back end of playground is using linux. The next version of criterion is going to monitor instruction counts so it's possible we could do this...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or backend entry points. Start by locating the Playground backend and how it runs Rust programs on Linux, then investigate whether Criterion's instruction-count monitoring can expose peak memory and executed-instruction feedback. Done means both measurements are reported to users when comparing code changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.