Submit an Emacs native compilation benchmark for your CPU! reddit / emacs ---------------------------------------------------------------------- unix_hacker · 2022-04-28 15:30 ---------------------------------------------------------------------- Alan_Shutko · 2022-04-28 15:38 It mentions the built-in "elisp-benchmarks-run" but that doesn't appear to be built-in on Emacs 28. ---------------------------------------------------------------------- unix_hacker · 2022-04-28 15:41 Thanks for pointing this out. Correcting this now -- I didn't realize this was a separate package that I had installed. ---------------------------------------------------------------------- jimehgeek · 2022-04-28 23:11 Neat, I’ll have a go at running the benchmarks tomorrow, on machines I have available :) ---------------------------------------------------------------------- Atemu12 · 2022-05-03 09:52 The benchmark's `delete-region` are bad somehow according to native- comp: ``` Compiling /Users/atemu/.emacs.d/eln-cache/28.1-1b9d2058/elb- smie-b726078f-b6419601.eln... libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long)2 (type: long) Debugger entered--Lisp error: (native-ice "gcc_jit_context_new_call_through_ptr: mismatching ...") comp--compile-ctxt-to-file("/Users/atemu/.emacs.d/eln- cache/28.1-1b9...") comp-compile-ctxt-to-file("/Users/atemu/.emacs.d/eln- cache/28.1-1b9...") comp-final1() load-with-code- conversion("/private/var/folders/xp/9_ry6h9x6l9gh_g32qspz0_400..." "/private/var/folders/xp/9_ry6h9x6l9gh_g32qspz0_400..." nil t) command-line-1(("-l" "/var/folders/xp/9_ry6h9x6l9gh_g32qspz0_40000gp/T/e...")) command-line() normal-top-level() ``` Did you run across that at all?