[parrot/parrot] 812f87: [config] change perl5 derived -O2 to -O3 for gcc/c...

GitHub noreply at github.com
Sat Jan 24 14:23:24 UTC 2015


  Branch: refs/heads/smoke-me/stringbuilder-gh1123
  Home:   https://github.com/parrot/parrot
  Commit: 812f87b3199b616672f788e1357db7319ba10bff
      https://github.com/parrot/parrot/commit/812f87b3199b616672f788e1357db7319ba10bff
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 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: ffdc1c371a3d437c14427381b094e6791769b57a
      https://github.com/parrot/parrot/commit/ffdc1c371a3d437c14427381b094e6791769b57a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 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: 7c62728fa176c105fd747cb3f071c2de7a91deb4
      https://github.com/parrot/parrot/commit/7c62728fa176c105fd747cb3f071c2de7a91deb4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 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: 954148dfe62582379f7a26a771e2d418ca1c9545
      https://github.com/parrot/parrot/commit/954148dfe62582379f7a26a771e2d418ca1c9545
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 Jan 2015)

  Changed paths:
    M src/pmc/stringbuilder.pmc

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

GH #1123. 1.14% faster


  Commit: 8d585f276962e10d818afc57647509a18a9d67df
      https://github.com/parrot/parrot/commit/8d585f276962e10d818afc57647509a18a9d67df
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 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: cd681c05710326788a83bb8f0d2b4bb5567790fd
      https://github.com/parrot/parrot/commit/cd681c05710326788a83bb8f0d2b4bb5567790fd
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 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: 4ebcbe90ac5ea21dad87214f283459dea1c127dd
      https://github.com/parrot/parrot/commit/4ebcbe90ac5ea21dad87214f283459dea1c127dd
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-24 (Sat, 24 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


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


More information about the parrot-commits mailing list