)]}'
{
  "commit": "6b61655598791c0ba4e403da330145a9cbc8aa4d",
  "tree": "cf4db022895d449ed9e41c96c230bdea5e1fd8d0",
  "parents": [
    "cf688f2329767b21e6325cabe8e85074147fedc0",
    "c2b9f3955a25cd685184ee0168d7d1d7722d2d05"
  ],
  "author": {
    "name": "Jonathan Brouwer",
    "email": "jonathantbrouwer@gmail.com",
    "time": "Wed Jun 03 14:27:13 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 03 14:27:13 2026 +0200"
  },
  "message": "Rollup merge of #157328 - mathisbot:opt-std-windows-time, r\u003dChrisDenton\n\nwindows: Elide division-by-zero checks in Instant::now()\n\nThis PR teaches LLVM that the frequency of the performance counter is non null so it is able to remove division by zero checks.\nThis removes the panic path in `mul_div_u64` and should make calls to `Instant::now()` (very slightly) faster.\n\nAs seen in the assembly (see godbolt below), telling LLVM that the frequency is non zero suffices to get the optimization, but I don\u0027t know if it could be a great idea to also update the signature of `mul_div_u64`?\n\nMSDN page for [QueryPerformanceFrequency](https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency):\n\u003e On systems that run Windows XP or later, the function will always succeed when given valid parameters and will thus never return zero.\n\nGodbolt: https://rust.godbolt.org/z/xr6x8MrPE\n",
  "tree_diff": []
}
