)]}'
{
  "commit": "084b33a85f63291f0513dc6a6284e5dfa66c8e3a",
  "tree": "b7426dd60f7c6e3ef70519ebd200dd2685ac5d8b",
  "parents": [
    "fac431ef4d268f11b8c69f8d20bfe6416761339d"
  ],
  "author": {
    "name": "0z5a",
    "email": "dinadegttyarenko6@gmail.com",
    "time": "Wed Nov 18 01:01:17 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 18 01:01:17 2026"
  },
  "message": "profile: keep samples with non-zero unscaled values in ScaleN (#1070)\n\n* profile: keep samples with non-zero unscaled values in ScaleN\n\nScaleN decided whether to keep a sample by looking only at the values\nit scaled. A sample whose scaled values round to zero was dropped even\nwhen a value with ratio 1 was non-zero, although the doc comment says\nthat only samples without any non-zero value are dropped. This loses\nsamples when merging profiles whose units differ, with -diff_base and\nwith -normalize.\n\nCheck every value after scaling. Add TestScaleN, and make\nTestNormalizeByDifferentProfile check the number of samples and expect\nthe {0, 10} sample that was dropped.\n\n* profile: shorten the TestScaleN doc comment",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71f9bae93411545be8bb095756ba98b47993f40e",
      "old_mode": 33188,
      "old_path": "profile/profile.go",
      "new_id": "7a713a04e71a04a36aa3e46942831305b21cd648",
      "new_mode": 33188,
      "new_path": "profile/profile.go"
    },
    {
      "type": "modify",
      "old_id": "308974725ab4bc6271e645172059e37b6c9aa0bf",
      "old_mode": 33188,
      "old_path": "profile/profile_test.go",
      "new_id": "4cd036ae10a4d0edbf44dcfe6635fa0d988f03b0",
      "new_mode": 33188,
      "new_path": "profile/profile_test.go"
    }
  ]
}
