Show HN: Chrome Reaper (github.com)

86 points by DaveFlater ↗ HN
Reaper is a Chrome (or Chromium) browser extension that terminates browser processes when they use too much CPU. Anything that the browser regards as a process is a potential target. This includes tabs, renderers, subframes, other extensions, and itself.

It works on stable channel Chrome for Linux but requires dev channel on Windows, MacOS, or ChromeOS. See README for details.

24 comments

[ 3.7 ms ] story [ 65.3 ms ] thread
Very cool to see government sponsored open source.

IMHO investing in open source is one of the most strategic things that the US government can do over the upcoming decades. Think about how many trillions of dollars in value has been built on open source software in the US... it's mind boggling how much ROI there is on that stuff.

(comment deleted)
This software was developed by employees of the National Institute of Standards and Technology (NIST), an agency of the Federal Government and is being made available as a public service. Pursuant to title 17 United States Code Section 105, works of NIST employees are not subject to copyright protection in the United States.
Keep reading. It's surely open source, but the license is mixed due to reuse of previous work that was CC-By 3.0 and similar.

An R package that I did was blocked from CRAN solely because they wanted me to choose a license from a fixed menu and I legally could not. Such policy creates a perverse incentive to not acknowledge previous work or to rationalize about the point at which the code is so mutated that it is no longer derivative.

I don't see the point of this. Why wouldn't you just use Firefox instead?

Chrome is malware.

There are good chromium based browers which also benefit from this extension.
Brave's shields against ad & tracking inserts seem to help against many of the cycle-stealers that affect standard Chrome… except for the occasional times where they perhaps trigger cycle-consumptive bugs by breaking assumptions of remaining JS.

I'd really prefer a browser to give a good estimate of an individual tab's perceptible load/contribution-to-lag – via some blended measure of CPU/interrupts/wakes/events – and give me a ranked, stable view of offenders, with an easy kill/reload/'nice' control.

The Chrome et al 'Task Manager' has only scraps of what's needed - with its noisy, jumpy process-centric view that hides obscures the load of individual tabs, offers only process kills rather than per-tab management, and often foregrounds internal processes that the user can hardly do anything about (or map to the truly-responsible web content).

(comment deleted)
US NIST, doing the important work. Very cool, very useful.
(comment deleted)
Chrome kinda already have this built-in, it is called Memory Saver under the Chrome Settings[0].

This is its description directly from Chrome Browser: "Memory Saver - When on, Chrome frees up memory from inactive tabs. This gives active tabs and other apps more computer resources and keeps Chrome fast. Your inactive tabs automatically become active again when you go back to them."

You can also whitelist Tabs/Websites: "Always keep these sites active: Sites you add will always stay active and memory won't be freed up from them"

I understand that this extension frees up CPU and memory from sites that might be unoptimized and/or malicious but if you have Memory Saver turned on, it will free up everything except as they say, tabs that have[0]:

Active audio or video (playback or calls), Screen share, Page notifications, Active downloads, Partially filled forms, Pinned tabs, Connected devices (USB or Bluetooth)

[0] https://support.google.com/chrome/answer/12929150?visit_id=6...