<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/pgo, branch 1.10.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-11-01T01:52:29Z</updated>
<entry>
<title>foot/client: implement xdga client activation</title>
<updated>2021-11-01T01:52:29Z</updated>
<author>
<name>Ronan Pigott</name>
<email>rpigott@berkeley.edu</email>
</author>
<published>2021-10-29T00:51:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8'/>
<id>urn:sha1:99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8</id>
<content type='text'>
This is an application of the xdg activation protocol that will allow
compositors to associate new foot toplevels with the command that
launched them.

footclient receives an activation token from the launcher which the
compositor can use to track application startup. It passes the token
to the foot server, which then activates the new window with the token
to complete the startup sequence.
</content>
</entry>
<entry>
<title>pgo: full-inner: add --override tweak.grapheme-shaping=no</title>
<updated>2021-10-16T14:58:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-10-16T14:58:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d4b365b55c98ab1cccc2c08677ced04cd5438327'/>
<id>urn:sha1:d4b365b55c98ab1cccc2c08677ced04cd5438327</id>
<content type='text'>
Grapheme shaping is now enabled by default in foot. However, when
generating the profiling data in PGO builds, this results in skewed
optimizations.

The end result is worse benchmark results regardless of whether
grapheme-shaping is enabled or not (when running the benchmarks).
</content>
</entry>
<entry>
<title>pgo: Use pixman renderer by default for PGO builds</title>
<updated>2021-10-08T14:34:36Z</updated>
<author>
<name>Stanislav Ochotnický</name>
<email>sochotnicky@redhat.com</email>
</author>
<published>2021-10-08T14:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85aaff68fbda7c84f95ab4f20da1e907c0657e01'/>
<id>urn:sha1:85aaff68fbda7c84f95ab4f20da1e907c0657e01</id>
<content type='text'>
Without pixman renderer override pgo builds in cage/sway require
access to actual render devices. In Gentoo's case the builds are run
as ordinary user and within a "sandbox" which prevents and logs access
outside of predefined places during build.

So let's default to pixman renderer for the PGO builds. Hopefully that
won't matter for the pgo optimizations to do the right thing within foot.
</content>
</entry>
<entry>
<title>pgo: verify source dir really is a foot source dir before proceeding</title>
<updated>2021-10-06T18:10:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-10-06T18:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b1c03861cd2faae597c36de73b068519c328a634'/>
<id>urn:sha1:b1c03861cd2faae597c36de73b068519c328a634</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: full-inner: do not set LC_CTYPE=en_US.UTF-8</title>
<updated>2021-10-02T12:46:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-10-02T12:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9389f337d0f75bcdeaf95cbfc9c8525db0e2007b'/>
<id>urn:sha1:9389f337d0f75bcdeaf95cbfc9c8525db0e2007b</id>
<content type='text'>
That locale may not exist. Instead, require the user/build script to
explicitly set an UTF-8 locale.

Document this in INSTALL.md, and in the bundled PKGBUILD.
</content>
</entry>
<entry>
<title>pgo.sh: set -x *after* verifying input</title>
<updated>2021-09-12T14:11:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-12T14:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b6df5f6456f4e4a897cb30f814c7d85254efbc8a'/>
<id>urn:sha1:b6df5f6456f4e4a897cb30f814c7d85254efbc8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: remove both gcc and clang generated profile stats</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5493267bf7ca08527e563717b4bf7812388f79f5'/>
<id>urn:sha1:5493267bf7ca08527e563717b4bf7812388f79f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: add meson bld/src dir arguments last</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a941253ba74d5ca48cbb1401b4ced8d0fa2b6a1e'/>
<id>urn:sha1:a941253ba74d5ca48cbb1401b4ced8d0fa2b6a1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: run ‘find’ in the build-directory, not cwd</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6d67c2b4ab3194df40d383841fb95bcc2f033fa1'/>
<id>urn:sha1:6d67c2b4ab3194df40d383841fb95bcc2f033fa1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: allow a pre-existing build directory</title>
<updated>2021-09-12T08:39:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e907ec209cf9b3e2f7ef06e0ffd71b9735f1e702'/>
<id>urn:sha1:e907ec209cf9b3e2f7ef06e0ffd71b9735f1e702</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: pgo.sh: auto: don’t use full-headless-sway</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T16:17:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cf7c5050f64709bea48e3175a3218f7b74d19f36'/>
<id>urn:sha1:cf7c5050f64709bea48e3175a3218f7b74d19f36</id>
<content type='text'>
This requires Sway &gt;= 1.6.2, which hasn’t been released yet. Thus,
don’t auto-use it.

Users can still request it explicitly.
</content>
</entry>
<entry>
<title>pgo: add set -x to all PGO scripts</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99c4e51e199f87c0b4d97d43a2d34af62c6b7ae4'/>
<id>urn:sha1:99c4e51e199f87c0b4d97d43a2d34af62c6b7ae4</id>
<content type='text'>
Without this, debugging error reports from users is going to be _very_
difficult...
</content>
</entry>
<entry>
<title>pgo: full-headless-cage: remove references to Sway</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f25055f101d031244a88dc37cef20f2c46d060f8'/>
<id>urn:sha1:f25055f101d031244a88dc37cef20f2c46d060f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: full-headless-cage: new headless variant</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=801bce335be8c3cf6d3793a50c2dfcf2ada29f19'/>
<id>urn:sha1:801bce335be8c3cf6d3793a50c2dfcf2ada29f19</id>
<content type='text'>
Appears to work, but cage spams a lot of

 00:00:08.026 [types/wlr_output.c:720] Basic output test failed for HEADLESS-1
 00:00:08.036 [types/wlr_output.c:720] Basic output test failed for HEADLESS-1
</content>
</entry>
<entry>
<title>pgo: full-inner: quote path in trap’s “rm” command</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T09:04:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3a34b94f2e8dadf845889bec2fa8cea5f89665d3'/>
<id>urn:sha1:3a34b94f2e8dadf845889bec2fa8cea5f89665d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: full-inner: remove -o tweak.render-timer=log</title>
<updated>2021-09-12T08:39:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T08:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=aeb510182b32c342a9175045aed37f5e1023384e'/>
<id>urn:sha1:aeb510182b32c342a9175045aed37f5e1023384e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgo: replace meson-pgo.sh with several script primitives</title>
<updated>2021-09-12T08:39:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-09-04T08:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a43ae0d098da2b0a5d77b6ecbc578f6d14b22d55'/>
<id>urn:sha1:a43ae0d098da2b0a5d77b6ecbc578f6d14b22d55</id>
<content type='text'>
All scripts are in the ‘pgo’ directory:

* options: command line options for generate-alt-random-writes.py,
  sourced by other scripts.

* pgo.sh: top-level script, generates a meson build directory, selects
  a PGO method, generates the profiling data, re-configures the meson
  build directory and does the final build.

  This script is intended to be used by end-users, and shows _how_ to
  integrate the script primitives.

  Build servers will most likely *not* want to use this script as-is.

* partial.sh: generates alt-random-write data and runs “foot{,client}
  --version”, and then feeds the alt-random data to the PGO helper
  binary. Does not require a running Wayland session. Touches
  $blddir/pgo-ok on success.

* full-inner.sh: runs “footclient --version”, and then a complex
  “foot” command that first generates alt-random-write data, and then
  “cat’s” it. Requires a running Wayland session, *but*, this script
  is usually not called directly (see below). Touches $blddir/pgo-ok
  onsucces..

* full-current-session.sh: runs full-inner.sh. That is, it runs foot
  in the currently running Wayland session. Note that this will pop up a
  foot window.

* full-headless-sway.sh: generates a custom Sway configuration that
  exec’s foot-headless-sway-inner.sh (see below), and then executes a
  headless Sway. In other words, this script does a *full* PGO build,
  but *without* requiring a running Wayland session. Requires Sway &gt;=
  1.6.2.

* full-headless-sway.sh: runs full-inner.sh + “swaymsg exit”.

To do a custom PGO build, without using pgo.sh, you’d need to:

CFLAGS=”$CFLAGS -O3” meson --buildtype=release -Db_lto=true
meson configure -Db_pgo=generate
ninja
ninja test (only needed if tllist+fcft are built as subprojects)

Run *one* of:
  - partial.sh
  - full-current-session.sh
  - full-headless-sway.sh

meson configure -D b_pgo=use
ninja
</content>
</entry>
<entry>
<title>pgo: add stub for search_selection_cancelled()</title>
<updated>2021-07-23T08:15:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-23T08:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f28193733555f95250a00ff0160277e2df025ecb'/>
<id>urn:sha1:f28193733555f95250a00ff0160277e2df025ecb</id>
<content type='text'>
Fixes PGO build failures caused by
251545203baa65364e491ddbe71ab3f8080bfe25

Closes #648
</content>
</entry>
<entry>
<title>pgo: fix PGO builds with clang</title>
<updated>2021-07-22T08:02:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-07-22T08:02:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2acd4b34c57659d86dca76c58e4363de9b0a1f17'/>
<id>urn:sha1:2acd4b34c57659d86dca76c58e4363de9b0a1f17</id>
<content type='text'>
Add stubs for shm_chain_new(), shm_chain_free() and shm_unref(). This
fixes ‘pgo’ linking failures in the ‘generate’ phase when doing a PGO
build with clang.

Closes #642
</content>
</entry>
<entry>
<title>extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()</title>
<updated>2021-05-17T16:14:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-03-30T12:40:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a6d9f01c0d1d914362b73eacd89e1e09877632cb'/>
<id>urn:sha1:a6d9f01c0d1d914362b73eacd89e1e09877632cb</id>
<content type='text'>
</content>
</entry>
</feed>
