[parrot/parrot] 41d8b8: [test] Add 2 stable and good GC stress test to nor...

GitHub noreply at github.com
Thu Jan 29 19:53:46 UTC 2015


  Branch: refs/heads/smoke-me/stringbuilder-gh1123
  Home:   https://github.com/parrot/parrot
  Commit: 41d8b8f0518d4f814a26ba182144cf5580657a9e
      https://github.com/parrot/parrot/commit/41d8b8f0518d4f814a26ba182144cf5580657a9e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ChangeLog
    M MANIFEST
    A t/op/gc-stress.t

  Log Message:
  -----------
  [test] Add 2 stable and good GC stress test to normal tests

See GH #1189


  Commit: 2540dc3d9261205e26dc1784f54bb6572a248546
      https://github.com/parrot/parrot/commit/2540dc3d9261205e26dc1784f54bb6572a248546
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ChangeLog
    M t/op/gc-stress.t
    M t/stress/gc.t

  Log Message:
  -----------
  [test] Only one test, travis timed out >10min

Also a minor test refactor.
Closes GH #1189


  Commit: 5117dfd3a247efb3faeb5e554c900957e028cf03
      https://github.com/parrot/parrot/commit/5117dfd3a247efb3faeb5e554c900957e028cf03
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ChangeLog
    M config/init/optimize.pm

  Log Message:
  -----------
  [config] change perl5 derived -O2 to -O3 for gcc/clang

Faster --optimize. 5% faster in parrot-bench. Closes GH #1185


  Commit: 679e6ee6b677f7ee78dd46252d08acc5b6d225d9
      https://github.com/parrot/parrot/commit/679e6ee6b677f7ee78dd46252d08acc5b6d225d9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ChangeLog
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] change StringBuilder overallocation

by 1.5, not 2. And for >8192 onto the next block size.
The optimal overallocation is the golden ration 1.618, but we prefer int ops.
A difference is not measurable.


  Commit: a7021b4440a6bd72a0a5ca3d20b3beeecb7f7a8e
      https://github.com/parrot/parrot/commit/a7021b4440a6bd72a0a5ca3d20b3beeecb7f7a8e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] disable 2x StringBuilder.substr clone, GH #1123

STRING_substr already creates a copy for us, no need to copy it twice.
no regression.

Note that t/stress/gc.t started failing earlier, even in 7.0.0.


  Commit: f6f2321570bebb1bc30df6dea6c3be52e0974706
      https://github.com/parrot/parrot/commit/f6f2321570bebb1bc30df6dea6c3be52e0974706
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] StringBuilder.substr needs no WB

GH #1123. 1.14% faster


  Commit: 935bd4ec1c415fdacfa8df5b40d83deacb6a9408
      https://github.com/parrot/parrot/commit/935bd4ec1c415fdacfa8df5b40d83deacb6a9408
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

  Log Message:
  -----------
  [pmc] Avoid StringBuilder copies on set_pmc, ...

and push_pmc, i_concatenate, when the arg is a StringBuilder
PMC already. 0.5% faster.


  Commit: 2b476db7c4c63e2895b1e8a1ccbbf72643e13e1d
      https://github.com/parrot/parrot/commit/2b476db7c4c63e2895b1e8a1ccbbf72643e13e1d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M src/io/stringhandle.c

  Log Message:
  -----------
  [core] optimize io_stringhandle_write_b

Reuse write buffer if large enough. This happens very often.
But surpringly no perf. improvement measurable.


  Commit: dd327386366eb1e589d282eaa0917de3309a2d6d
      https://github.com/parrot/parrot/commit/dd327386366eb1e589d282eaa0917de3309a2d6d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M t/src/extend.t

  Log Message:
  -----------
  [test] un-todo t/src/extend.t 19 on darwin

not repro anymore, at least with yosemite.
GH #856 SIGABRT with darwin threads


  Commit: bd13c2dbf8369ed055492407cf1b9e1367b31304
      https://github.com/parrot/parrot/commit/bd13c2dbf8369ed055492407cf1b9e1367b31304
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M src/pmc/resizablepmcarray.pmc

  Log Message:
  -----------
  [pmc] rpa gc optimizations

Re-enable the status from 6.11.0, not too many write barriers in
ResizablePMCArray methods. Not in shift as we only move the offset
and only when needed in resize.
But it does not give us back the lost 13% in parrot-bench, from 6.11
to 7.0.


Compare: https://github.com/parrot/parrot/compare/4ebcbe90ac5e...bd13c2dbf836


More information about the parrot-commits mailing list