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
{{ message }}
Repository navigation
mirai bench compare cannot measure against a base on some machines, and measures the wrong build when it can #8
mirai bench compare --base main failed or measured the wrong thing in three ways, all found while measuring #12:
Git Bash outside %ProgramFiles%\Git. The base could not be built: mirai: could not run C:\Program Files\Git\bin\bash.exe: Not_Exist. shell_executable looks only there, although mirai.cmd also looks in ProgramFiles(x86), LocalAppData\Programs, GIT_INSTALL_ROOT and the git.exe of PATH. This machine has Git for Windows in C:\Workbench\PKGMGR\gitforwindows.
Different optimization for base and head. The head was built --release and the base --dev, because bench calls render_base_prepare without release=true. The report would compare two different optimizations.
A base that predates a new parameter fails. When the head sends a parameter the base lacks, the base refuses it. render_call tries to drop the unknown field and measure without it. But it looks for the text unknown field ", while the API now writes "memory" is not a field: the fields are …, so that fallback never matches. bench has no fallback at all.
Acceptance criteria
Git Bash is found wherever mirai.cmd finds it.
The base of bench compare is built --release, like the head.
render and bench drop a field the base does not take, say so, and measure without it.
Two of the three fixes this issue asked for are on main now: b6db65c builds the base and the head alike, and ae45487 retries without the field named in error.data.unknown_field. #11 is left with the third: finding Git Bash through git --exec-path, in mirai.cmd and in the tool alike.
Activity
5hif7y commentedon Nov 15, 2026
Two of the three fixes this issue asked for are on
mainnow: b6db65c builds the base and the head alike, and ae45487 retries without the field named inerror.data.unknown_field. #11 is left with the third: finding Git Bash throughgit --exec-path, inmirai.cmdand in the tool alike.