translate_emulated has gotten _much_ slower

I spent some time timing this command:
  cd ./linux/bootstrap;  ./clean;  popd;  time ./translate_emulated apps/ex2.mu

Times at a few commits this year, along with notes on what changed in the
linux/ directory:
  517a01c95a Feb 17 1:30
    time ./translate_mu_baremetal_emulated baremetal/ex2.mu
  71e4f38129 Mar 3 1:30
    time ./translate_emulated ex2.mu
  2df1d1a730 May 14 1:53
    time ./translate_emulated apps/ex2.mu
  ff8ec9bcff + patch May 14 2:10 -- start showing stack trace on abort
  9831a8cef9 + patch May 19 2:23
  8c47da082b Jun 18 2:27
                                                               -- what changed in the middle here?!
  b625c6304e Jul 29 3:13
                                                               -- seemingly minor change to linux/next-word
  52e3ea8a4b Aug 15 4:55

  ba4a3c5be7 Aug 22 4:57
                                                               -- one additional compiler check in linux/mu.subx
  899cdcc3f3 Aug 29 5:44 5:54
  975f372d67 Oct 31 5:22

So it's not a single commit :/ Unclear what's going on.
This commit is contained in:
Kartik Agaram 2021-10-31 08:36:03 -07:00
parent 975f372d67
commit 72850faae0
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ Mu programs build natively either on Linux or on Windows using [WSL 2](https://d
For Macs and other Unix-like systems, use the (much slower) emulator:
```sh
./translate_emulated apps/ex2.mu # ~2 mins to emit code.img
./translate_emulated apps/ex2.mu # 2-5 minutes to emit code.img
```
Mu programs can be written for two very different environments: