Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39018
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Andreas Leitgeb <avl@logic.at> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Starting jshell takes about 15 seconds |
| Date | Mon, 29 Jul 2019 08:01:24 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 30 |
| Message-ID | <slrnqjt9uk.36g.avl@logic.at> (permalink) |
| References | <87tvb6no0u.fsf@munus.decebal.nl> <qhlcna$91c$1@gioia.aioe.org> |
| Reply-To | avl@logic.at |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Mon, 29 Jul 2019 08:01:24 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="e296324ce8dd4df7d4fd9e6ec5d69440"; logging-data="15535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dkNoPo2yhhSSaBGQdib5m" |
| User-Agent | slrn/1.0.3 (Linux) |
| Cancel-Lock | sha1:TFtzmwUIh4UiCfUMas9hzO57mXk= |
| Xref | csiph.com comp.lang.java.programmer:39018 |
Show key headers only | View raw
Arne Vajhøj <arne@vajhoej.dk> wrote: > On 7/28/2019 12:04 PM, Cecil Westerhof wrote: >> I have played with jshell before, but at the moment I am a bit more >> serious with it. Starting jshell between 15 and 20 seconds. Executing >> /reset takes 7 to 10 seconds. >> This seems a bit long to me. For example starting ipython3 takes less >> as two seconds. Is this normal, or is there a problem with my system? >> I am working with Debian 9. > Here starting jshell takes 1-3 seconds depending on the > system. Windows 7 and Ubuntu 18.04 both with Java 11. The machine's RAM and # of cores may be more significant here than the OS or even the CPU or bogomips. (And in case of enough RAM, then also whether jshell is already in the cache versus first-start.) PS: Ubuntu here with 8GB on core i7 2.80GHz (HW about 10 years old): first jshell start: roughly 6 secs, second one roughly 2 secs $ time $JAVA12_HOME/bin/jshell <<< "/exit" | Welcome to JShell -- Version 12.0.2 | For an introduction type: /help intro jshell> | Goodbye real 0m1.708s <-- user 0m4.728s <-- that's where # of cores comes in. sys 0m0.264s
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Starting jshell takes about 15 seconds Cecil Westerhof <Cecil@decebal.nl> - 2019-07-28 18:04 +0200
Re: Starting jshell takes about 15 seconds Arne Vajhøj <arne@vajhoej.dk> - 2019-07-28 19:56 -0400
Re: Starting jshell takes about 15 seconds Andreas Leitgeb <avl@logic.at> - 2019-07-29 08:01 +0000
Re: Starting jshell takes about 15 seconds Cecil Westerhof <Cecil@decebal.nl> - 2019-07-29 20:45 +0200
Re: Starting jshell takes about 15 seconds Cecil Westerhof <Cecil@decebal.nl> - 2019-07-29 21:10 +0200
Re: Starting jshell takes about 15 seconds Arne Vajhøj <arne@vajhoej.dk> - 2019-08-01 21:05 -0400
Re: Starting jshell takes about 15 seconds Arne Vajhøj <arne@vajhoej.dk> - 2019-08-01 21:03 -0400
csiph-web