It would be really interesting to compile J from source on the M1 Mac and compare with the Rosetta emu.
On Sun, Mar 14, 2021 at 6:07 PM Ian Clark <[email protected]> wrote: > timespace > > |value error: timespace > > timespacex > > 6!:2 , 7!:2@] > > > NB. Devon > > 10 timespacex '%. 1000 1000 ?@$0' > > 0.25951 4.40422e7 > > 10 timespacex '%. 20 20 ?@$1000x' > > 0.666281 730400 > > NB. Again... > > 10 timespacex '%. 1000 1000 ?@$0' > > 0.259501 4.40422e7 > > 10 timespacex '%. 20 20 ?@$1000x' > > 0.66614 725664 > > NB. Robert > > 5 timespacex '%. 1000 1000 ?@$0' > > 0.25911 4.40422e7 > > 10 timespacex '%. 20 20 ?@$1000x' > > 0.656186 727456 > > NB. Again... > > 5 timespacex '%. 1000 1000 ?@$0' > > 0.259159 4.40422e7 > > 10 timespacex '%. 20 20 ?@$1000x' > > 0.663725 734496 > > NB. Joey > > 5 timespacex '%. 1000 1000 ?@$0' > > 0.259035 4.40422e7 > > timespacex '%. 20 20 ?@$1000x' > > 0.691022 735904 > > NB. Again... > > 5 timespacex '%. 1000 1000 ?@$0' > > 0.259434 4.40422e7 > > timespacex '%. 20 20 ?@$1000x' > > 0.701176 740384 > > JVERSION > > Engine: j902/j64/darwin > > Release-b: commercial/2021-02-18T13:02:38 > > Library: 9.02.08 > > Qt IDE: 1.9.2/5.12.10(5.12.10) > > Platform: Darwin 64 > > Installer: J902 install > > InstallPath: /applications/j902 > > Contact: www.jsoftware.com > > > > Unretouched sm log on Mac mini. > > > From > About This Mac > > > macOS Big Sur > > Version 11.2.3 > > Mac mini (M1, 2020) > > Chip Apple M1 > > Memory 8 GB > > > Not as impressive as I hoped. I surmise that Rosetta emulation wipes out > the anticipated benefits of the M1 chip. > > (I'm getting at least a tenfold speedup in Xcode compile/run, which > suggests that there's something to gain from a native-code binary though.) > > > NOTES: My j902 installation is straight out-of-the-box. timespace is not > shipped in this J version, so I've used timespacex. > > That's the only alteration I've made. > > Otherwise I've copied/pasted from Devon's, Robert's, Joey's posts because > I'm paranoid. And run each correspondent's samples twice. > > > Ian Clark > > > > On Sun, 14 Mar 2021 at 18:25, Devon McCormick <[email protected]> wrote: > > > On my new Dell desktop, I get this: > > 10 timespace '%. 1000 1000 ?@$0' > > 0.0969951 4.40422e7 > > 10 timespace '%. 20 20 ?@$1000x' > > 0.665211 731040 > > > > This has an Intel i9-10900F at 2.80GHz. It's supposed to have > overclocking > > capability but I have not figured it out. > > > > On Sun, Mar 14, 2021 at 12:28 PM 'robert therriault' via General < > > [email protected]> wrote: > > > > > For comparison these are the numbers of my 2 year old, 3 GHZ 10 core > iMac > > > Pro running j903-e under Catalina > > > > > > 5 timespacex '%. 1000 1000 ?@$0' > > > 0.172711 4.40422e7 > > > 10 timespacex '%. 20 20 ?@$1000x' > > > 0.770374 734112 > > > > > > From what I have heard, Ian's Mac mini with the X1 chip could > outperform > > > it. > > > > > > Cheers, bob > > > > > > > On Mar 14, 2021, at 08:27, Joey K Tuttle <[email protected]> wrote: > > > > > > > > @Ian > > > > > > > > Of course, I would like to see my goto benchmarks - > > > > > > > > 5 timespace '%. 1000 1000 ?@$0' > > > > 0.226458 44042240 > > > > timespace '%. 20 20 ?@$1000x' > > > > 1.085014 727200 > > > > > > > > Those times were on a 2.7 GHz i5 MacBook in j903-e > > > > > > > > - joey > > > > > > > >> On 2021Mar 13, at 22:48, Ian Clark <[email protected]> wrote: > > > >> > > > >> @ Mike > > > >> The short answer to your questions: yes, and yes. > > > >> > > > >> To date there's only 3 Mac models with the M1 chip: two laptops and > > the > > > Mac > > > >> Mini. > > > >> I've just bought the Mac mini running under Big Sur for dedicated > > Xcode, > > > >> which is painfully slow on my old MBA. > > > >> > > > >> Well…! > > > >> This is the most painless Mac I've ever bought (I own 4 now, some > very > > > >> old). Setup was fast, and went as it should. > > > >> Mind you, I'd only installed Xcode from App Store and transferred > none > > > of > > > >> my code and data. I hadn't even installed J. > > > >> But seeing your post I thought I'd install first j901 then j902. > > > >> > > > >> Both installations proceeded identically, and just as they had for > my > > > MBA > > > >> running Catalina. > > > >> I wrote a log as I did the steps, which I'll omit here. Ask to see > it > > if > > > >> you want. > > > >> > > > >> Basically I followed the instructions on the jwiki page: > > > >> System/Installation/j902/zips > > > >> first clicking the link: j902_mac64.zip > > > >> > > > >> Once installed, j902 offered me 3 icons on my desktop. I ran the > > green J > > > >> named jqt902. > > > >> After 24 bounces in the Dock, the jqt "Term" window appeared. > > > >> (don't worry: it re-launches with scarcely one bounce.) > > > >> > > > >> I then entered: > > > >> load'plot' > > > >> plot 2000?2000 > > > >> The plot window appeared immediately, filled with a dense scribble. > > > >> > > > >> Summary: the Mac mini runs absurdly fast, and I've found it no > trouble > > > to > > > >> use. To-date it has done everything I've thrown at it. > > > >> > > > >> Bill is right: there's no J engine for the M1 chip as-yet. So it's > got > > > to > > > >> be transparently running the new Rosetta emulator for Intel code. I > > > haven't > > > >> timed any J benchmarks: would someone care to offer me one? > > > >> > > > >> Ian Clark > > > >> > > > >> > > > >> On Sat, 13 Mar 2021 at 20:00, Michael P. Manti <[email protected]> > > > wrote: > > > >> > > > >>> I am considering buying a new M1 Mac to replace my aging 2014 > MacBook > > > Pro. > > > >>> Is J supported on macOS Big Sur? Is it supported on the M1 chips? > > > >>> > > > >>> I any members of the forum have tested J out on the M1 Macs, I > would > > > >>> appreciate any advice that they have to share. > > > >>> > > > >>> Thanks! > > > >>> > > > >>> Mike > > > >>> > > > >>> > > > >>> > > ---------------------------------------------------------------------- > > > >>> For information about J forums see > > http://www.jsoftware.com/forums.htm > > > >>> > > > >> > ---------------------------------------------------------------------- > > > >> For information about J forums see > > http://www.jsoftware.com/forums.htm > > > > > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
