Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MacOS: Neomacs still uses ~0.6–1% CPU at idle, compared to GNU/Emacs’ near-0% idle usage. #58

Copy link
Copy link
@eval-exec

Description

@eval-exec
Issue body actions

commit 98df232, Neomacs idle CPU is now about 0.6%–1%, but it’s still higher than Emacs’ idle 0% — almost invisible in top, but there’s room for improvement.

src/emacs -Q
2026-03-02T01:12:26.553607Z  INFO neomacs_display::ffi::threaded: neomacs_display_init_threaded: 960x640
2026-03-02T01:12:26.553692Z  INFO neomacs_display::ffi::threaded: Running render loop on main thread
2026-03-02T01:12:26.553716Z  INFO neomacs_display::render_thread: Render thread starting
2026-03-02T01:12:26.678459Z  INFO neomacs_display::render_thread: Display scale factor: 2
2026-03-02T01:12:26.678513Z  INFO neomacs_display::render_thread: Render thread: window created (physical 1920x1280)
2026-03-02T01:12:26.678516Z  INFO neomacs_display::render_thread: Initializing wgpu for render thread
2026-03-02T01:12:26.680031Z  INFO neomacs_display::render_thread: wgpu adapter: Intel(R) UHD Graphics 630 (vendor=0000, device=0000, backend=Metal)
2026-03-02T01:12:26.689367Z  INFO neomacs_display::backend::wgpu::image_cache: Starting 12 image decoder threads
2026-03-02T01:12:26.729852Z  WARN cosmic_text::font::system: failed to load font 'GB18030Bitmap'
2026-03-02T01:12:26.731403Z  WARN cosmic_text::font::system: failed to load font 'GB18030Bitmap'
2026-03-02T01:12:26.731435Z  INFO neomacs_display::render_thread: wgpu initialized: 1920x1280, format: Bgra8UnormSrgb
2026-03-02T01:12:26.746021Z  INFO neomacs_display::render_thread: WindowEvent::Resized: 1920x1280
2026-03-02T01:12:26.746137Z  INFO neomacs_display::render_thread: Sending WindowResize event to Emacs: 960x640 (logical)
2026-03-02T01:12:26.746163Z  INFO neomacs_display::render_thread: Scale factor changed: 2 -> 2
2026-03-02T01:12:26.746171Z  INFO neomacs_display::render_thread: WindowEvent::Resized: 1920x1280
2026-03-02T01:12:26.746233Z  INFO neomacs_display::render_thread: Sending WindowResize event to Emacs: 960x640 (logical)
2026-03-02T01:12:31.588854Z  INFO neomacs_display::ffi::scene: neomacs_display_resize: 960x640 -> 974x640
2026-03-02T01:12:31.588878Z  INFO neomacs_display::ffi::image: neomacs_display_clear_all_glyphs: clearing 0 glyphs
2026-03-02T01:12:31.590049Z  INFO neomacs_display::render_thread: WindowEvent::Resized: 1948x1280
2026-03-02T01:12:31.590154Z  INFO neomacs_display::render_thread: Sending WindowResize event to Emacs: 974x640 (logical)
2026-03-02T01:12:31.624554Z  INFO neomacs_display::layout::emacs_types: Window offsets: frame=8, next=16, contents=80
2026-03-02T01:12:31.624569Z  INFO neomacs_display::layout::emacs_types: Frame offsets: root_window=56, selected_window=64, minibuffer_window=80
2026-03-02T01:12:31.624572Z  INFO neomacs_display::layout::emacs_types: Emacs struct offsets validated successfully (lisp_fields=76)
2026-03-02T01:12:31.624579Z  INFO neomacs_display::ffi::layout: Rust layout engine initialized
2026-03-02T01:12:31.624586Z  INFO neomacs_display::layout::font_metrics: FontMetricsService: initializing cosmic-text FontSystem
2026-03-02T01:12:31.662631Z  WARN cosmic_text::font::system: failed to load font 'GB18030Bitmap'
2026-03-02T01:12:31.664311Z  WARN cosmic_text::font::system: failed to load font 'GB18030Bitmap'
2026-03-02T01:12:31.664334Z  INFO neomacs_display::layout::font_metrics: FontMetricsService: FontSystem ready
2026-03-02T01:12:31.675577Z  INFO neomacs_display::ffi::scene: neomacs_display_resize: 974x640 -> 960x640
2026-03-02T01:12:31.675594Z  INFO neomacs_display::ffi::scene: neomacs_display_resize: 960x640 -> 974x640
2026-03-02T01:12:31.675594Z  INFO neomacs_display::render_thread: New face_ids detected (old=0, new=3), clearing glyph cache
2026-03-02T01:12:31.685038Z  INFO neomacs_display::render_thread: New face_ids detected (old=3, new=4), clearing glyph cache

Originally posted by @georgealbert in #54

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.