<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/tools/test, branch master</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Create a shared wrapper function for all occurrences of 'fun F/A'</title>
<updated>2019-06-17T08:36:19+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2019-06-04T10:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4'/>
<id>fccac1598cc13fcd9a3d7e85e2c4cae722f1bfc4</id>
<content type='text'>
If the `fun F/A` syntax is used multiple times with the same `F/A`,
(for examle, `fun foo/2`), there would a wrapper function and fun
entry generated for each occurrence.

Using the new support in the OTP 23 runtime system, generate a single
wrapper function and fun entry for each `F/A`. Since there is only one
wrapper function, it can be named based on the name of the function it
calls to faciliate debugging, not based on the function that defines
the fun. For example, the wrapper function for `fun foo/0` will now be
named `-fun.foo/0-'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the `fun F/A` syntax is used multiple times with the same `F/A`,
(for examle, `fun foo/2`), there would a wrapper function and fun
entry generated for each occurrence.

Using the new support in the OTP 23 runtime system, generate a single
wrapper function and fun entry for each `F/A`. Since there is only one
wrapper function, it can be named based on the name of the function it
calls to faciliate debugging, not based on the function that defines
the fun. For example, the wrapper function for `fun foo/0` will now be
named `-fun.foo/0-'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'john/tools/fix-cover-register-race/ERL-943/OTP-15813' into maint</title>
<updated>2019-05-14T11:39:00+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-05-14T11:39:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=416d7690d325f10c20fd7080ef324e76acae11c1'/>
<id>416d7690d325f10c20fd7080ef324e76acae11c1</id>
<content type='text'>
* john/tools/fix-cover-register-race/ERL-943/OTP-15813:
  cover: Fix register/2 race on startup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/tools/fix-cover-register-race/ERL-943/OTP-15813:
  cover: Fix register/2 race on startup
</pre>
</div>
</content>
</entry>
<entry>
<title>cover: Fix register/2 race on startup</title>
<updated>2019-05-13T09:45:59+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-05-09T13:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=656420b64c9207ef5fc25c107b5f4a457b6359bd'/>
<id>656420b64c9207ef5fc25c107b5f4a457b6359bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dgud/emacs-test-uc-path'</title>
<updated>2019-04-23T06:51:19+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2019-04-23T06:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ddb3aff54904342b0d2e45d9419e8638467d61bc'/>
<id>ddb3aff54904342b0d2e45d9419e8638467d61bc</id>
<content type='text'>
* dgud/emacs-test-uc-path:
  Fix emacs tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/emacs-test-uc-path:
  Fix emacs tests
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lukas/tools/overhead_benchmark'</title>
<updated>2019-04-18T12:28:29+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-04-18T12:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d0d4f2be1ebfe8293a627531b65819e85482c1d9'/>
<id>d0d4f2be1ebfe8293a627531b65819e85482c1d9</id>
<content type='text'>
* lukas/tools/overhead_benchmark:
  etp: Fix free de processes check
  tools: Add overhead benchmark
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/tools/overhead_benchmark:
  etp: Fix free de processes check
  tools: Add overhead benchmark
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Add overhead benchmark</title>
<updated>2019-04-18T12:28:03+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-04-10T14:16:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=98db432aded24570a185b54217510a02daa0903d'/>
<id>98db432aded24570a185b54217510a02daa0903d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Adjust instrument abort tc to better trigger faults</title>
<updated>2019-04-18T12:14:42+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2019-04-15T09:29:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=31457daef972d3a79b7c8f3a1ffde2e1e082595a'/>
<id>31457daef972d3a79b7c8f3a1ffde2e1e082595a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix emacs tests</title>
<updated>2019-04-18T04:51:02+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2019-04-17T13:01:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7287943b470c3fe6ceefd1f9a9fea68736a2b37f'/>
<id>7287943b470c3fe6ceefd1f9a9fea68736a2b37f</id>
<content type='text'>
Didn't work if installed path contained spaces or unicode characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Didn't work if installed path contained spaces or unicode characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Emacs: Refine xref etags matches</title>
<updated>2019-03-30T18:48:28+00:00</updated>
<author>
<name>Johan Claesson</name>
<email>johanclaesson@bredband.net</email>
</author>
<published>2019-03-30T18:43:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1846a7d981d22cd3b1311401324dbd94a5f8aeaa'/>
<id>1846a7d981d22cd3b1311401324dbd94a5f8aeaa</id>
<content type='text'>
Fetch and present arity in the *xref* window (unless too many hits).

If we are reasonably sure which definition the user wants to go to
then jump there directly instead of popping to the *xref* window.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fetch and present arity in the *xref* window (unless too many hits).

If we are reasonably sure which definition the user wants to go to
then jump there directly instead of popping to the *xref* window.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the counters module to speed up cover</title>
<updated>2019-02-11T13:54:44+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2019-02-06T13:24:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e6bdde9e927ad0933aaf36120cc740e2380567dc'/>
<id>e6bdde9e927ad0933aaf36120cc740e2380567dc</id>
<content type='text'>
Use `counters:add/3` instead of `ets:update_counter/3`
for counting the number of times a line is executed.

By default, the reference to the counter array for each module will be
stored in a persistent term and retrieved every time a counter is
updated. This makes the compiler test suite with coverage enabled run
*almost* twice as fast (on my computer, in about 6 minutes down from
more than 11 minutes).

To get even more speed, the new `cover:local_only/0` function can be
called to put cover into a mode where the cover-compiled code can only
be run on the local node. In this mode, the cover-compiled modules in
a more efficient way by compiling the counter reference into the
code. This shaves off about one more minute, making the compiler test
suite with coverage enabled run *more than* twice as fast (in about 5
minutes on my computer).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `counters:add/3` instead of `ets:update_counter/3`
for counting the number of times a line is executed.

By default, the reference to the counter array for each module will be
stored in a persistent term and retrieved every time a counter is
updated. This makes the compiler test suite with coverage enabled run
*almost* twice as fast (on my computer, in about 6 minutes down from
more than 11 minutes).

To get even more speed, the new `cover:local_only/0` function can be
called to put cover into a mode where the cover-compiled code can only
be run on the local node. In this mode, the cover-compiled modules in
a more efficient way by compiling the counter reference into the
code. This shaves off about one more minute, making the compiler test
suite with coverage enabled run *more than* twice as fast (in about 5
minutes on my computer).
</pre>
</div>
</content>
</entry>
</feed>
