halfway to nothing

66 views
Skip to first unread message

Paul Phillips

unread,
May 21, 2011, 3:01:18 PM5/21/11
to scala-i...@googlegroups.com
Have now shaved more than half the startup time relative to 2.9.0. Here we are oscillating between it and r25007.

% while true; do time scala29 -J-d32 -nc -e '()' ; time scala3 -J-d32 -nc -e '()' ; done |& grep real
real 0m3.322s
real 0m1.565s
real 0m3.166s
real 0m1.617s
real 0m3.168s
real 0m1.566s
real 0m3.167s
real 0m1.617s
real 0m3.163s
real 0m1.567s
real 0m3.268s
real 0m1.615s
real 0m3.164s
real 0m1.620s
real 0m3.164s
real 0m1.574s
real 0m3.217s
real 0m1.612s
real 0m3.271s
real 0m1.621s

Paul Phillips

unread,
May 21, 2011, 3:05:43 PM5/21/11
to scala-i...@googlegroups.com
Oh, it's even more pronounced if I don't flip to 32bit. And here I thought I was rigging it in my favor.

% while true; do time scala29 -nc -e '()' ; time scala3 -nc -e '()' ; done |& grep real
real 0m4.537s
real 0m1.854s
real 0m4.328s
real 0m1.853s
real 0m4.220s
real 0m1.852s
real 0m4.255s
real 0m1.904s
real 0m4.421s
real 0m1.954s

√iktor Ҡlang

unread,
May 21, 2011, 3:07:32 PM5/21/11
to scala-i...@googlegroups.com

Woot, nice work Paul!

Ismael Juma

unread,
May 21, 2011, 3:08:49 PM5/21/11
to scala-i...@googlegroups.com
On Sat, May 21, 2011 at 8:01 PM, Paul Phillips <pa...@improving.org> wrote:
> Have now shaved more than half the startup time relative to 2.9.0.  Here we are oscillating between it and r25007.

Nice! Will this be part of the next bug-fix update or will it wait for
the subsequent one?

Best,
Ismael

Paul Phillips

unread,
May 21, 2011, 3:13:12 PM5/21/11
to scala-i...@googlegroups.com, Ismael Juma
On 5/21/11 12:08 PM, Ismael Juma wrote:
> Nice! Will this be part of the next bug-fix update or will it wait for
> the subsequent one?

This will wait.

Randall R Schulz

unread,
May 21, 2011, 3:30:08 PM5/21/11
to scala-i...@googlegroups.com

Always holdin' out on us!


RRS

Josh Suereth

unread,
May 21, 2011, 6:29:17 PM5/21/11
to scala-i...@googlegroups.com, Ismael Juma
3.0? 

martin odersky

unread,
May 22, 2011, 7:13:38 AM5/22/11
to scala-i...@googlegroups.com, Ismael Juma


On Sun, May 22, 2011 at 12:29 AM, Josh Suereth <joshua....@gmail.com> wrote:
3.0? 

Hopefully not that long... -- Martin
 



--
----------------------------------------------
Martin Odersky
Prof., EPFL and CEO, Typesafe
PSED, 1015 Lausanne, Switzerland
Tel. EPFL: +41 21 693 6863
Tel. Typesafe: +41 21 691 4967

Josh Suereth

unread,
May 22, 2011, 8:56:11 AM5/22/11
to scala-i...@googlegroups.com, Ismael Juma

Ah, I was refering to the script name.

On May 22, 2011 7:14 AM, "martin odersky" <martin....@epfl.ch> wrote:
> On Sun, May 22, 2011 at 12:29 AM, Josh Suereth <joshua....@gmail.com>wrote:
>
>> 3.0?
>>
>> Hopefully not that long... -- Martin
>
>
>>
>> On Sat, May 21, 2011 at 3:13 PM, Paul Phillips <pa...@improving.org>wrote:
>>
>>> On 5/21/11 12:08 PM, Ismael Juma wrote:
>>> > Nice! Will this be part of the next bug-fix update or will it wait for
>>> > the subsequent one?
>>>
>>> This will wait.
>>>
>>
>>
>
>
> --
> ----------------------------------------------
> Martin Odersky
> Prof., EPFL <http://www.epfl.ch> and CEO, Typesafe <http://www.typesafe.com>

Paul Phillips

unread,
May 22, 2011, 11:37:44 AM5/22/11
to scala-i...@googlegroups.com, Josh Suereth, Ismael Juma
On 5/22/11 5:56 AM, Josh Suereth wrote:
> Ah, I was refering to the script name.

Oh, I didn't realize I'd exposed that. It doesn't mean anything. I
have a zillion aliases for scala versions, and scala29 was my latest
tested build of 29 until 2.9.0 came out. Now I need a new alias for my
latest build, and scala210 is annoying in terms of finger mechanics,
file completion, lexical ordering, etc. whereas scala3 isn't.

Reply all
Reply to author
Forward
0 new messages