Live data from Hacker News

PluotSorbet – A J2ME-Compatible VM Written in JavaScript

github.com

1–7 of 7 posts

Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript

#2
> It is recommended that a dedicated Firefox profile is used with the about:config preference of security.turn_off_all_security_so_that_viruses_can_take_over_this_computer set to true so garbage collection and cycle collection can be run in between test rounds.

Sounds legit. :p

Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript

#4
post #2

> It is recommended that a dedicated Firefox profile is used with the about:config preference of security.turn_off_all_security_so_that_viruses_can_take_over_this_computer set to true so garbage collection and cycle collection can be run in between test rounds. Sounds legit. :p

This is used only for development. The preference allows you to access privileged browser APIs, like triggering a GC at exact points in time. This is useful when running benchmarks to reduce the noise causes by a previous run.

The preference is named as such to prevent people from being tricked into turning it on.

Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript

#5
post #2

> It is recommended that a dedicated Firefox profile is used with the about:config preference of security.turn_off_all_security_so_that_viruses_can_take_over_this_computer set to true so garbage collection and cycle collection can be run in between test rounds. Sounds legit. :p

Hmm, I thought it was obvious that this recommendation applies only during benchmarking by PluotSorbet developers, not when the project is being used to run a midlet. But perhaps not, so to clarify: if you're hacking on PluotSorbet, and you're benchmarking startup, then we recommend you set that preference for the reasons stated; otherwise, you should not set that preference.