You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performance is critical for a compositor. We need to identify and optimize performance bottlenecks, particularly around foreign function calls which are heavily used in our Wayland bindings.
Requirements
Profile FFI call performance using compiler plugins
I did some very high level testing comparing this compositor with xmonad on my laptop which does not have a GPU.
I used glmark2.
Xmonad has a score twice as good as tiny-wlhs.
Upon investigation its clear xmonad is using Mesa Intel(R) Xe Graphics (TGL GT2) while tiny-wlhs with pixman is using llvmpipe (LLVM 15.0.6, 256 bits) . This is likely related to using pixman as the wayland renderer.
I have not investigated this issue further, but im leaving this comment here as this is likely the main performance bottle neck for the compositor atm. It may even be straightforward to address, pixman if that is the issue is set in the nix file.
Performance Optimization and FFI Profiling
Description
Performance is critical for a compositor. We need to identify and optimize performance bottlenecks, particularly around foreign function calls which are heavily used in our Wayland bindings.
Requirements
Acceptance Criteria
Reference
Performance profiling tools discussion: https://discourse.haskell.org/t/new-compiler-plugin-to-make-it-possible-to-profile-time-spent-in-foreign-function-calls/11217/6
The text was updated successfully, but these errors were encountered: