{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":808551038,"defaultBranch":"master","name":"go","ownerLogin":"xingole","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-05-31T09:54:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/110584358?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1717149301.364942","currentOid":""},"activityList":{"items":[{"before":"464aae706b0ca1edc96b6c6988a1553d75605fca","after":"eb6f2c24cd17c0ca1df7e343f8d9187eef7d6e13","ref":"refs/heads/master","pushedAt":"2024-09-28T07:04:17.000Z","pushType":"push","commitsCount":151,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"runtime: use vDSO for getrandom() on linux\n\nLinux 6.11 supports calling getrandom() from the vDSO. It operates on a\nthread-local opaque state allocated with mmap using flags specified by\nthe vDSO.\n\nOpaque states are allocated in chunks, ideally ncpu at a time as a hint,\nrounding up to as many fit in a complete page. On first use, a state is\nassigned to an m, which owns that state, until the m exits, at which\npoint it is given back to the pool.\n\nPerformance appears to be quite good:\n\n │ sec/op │ sec/op vs base │\nRead/4-16 222.45n ± 3% 27.13n ± 6% -87.80% (p=0.000 n=10)\n │ B/s │ B/s vs base │\nRead/4-16 17.15Mi ± 3% 140.61Mi ± 6% +719.82% (p=0.000 n=10)\n\nFixes #69577.\n\nChange-Id: Ib6f44e8f2f3940c94d970eaada0eb566ec297dc7\nReviewed-on: https://go-review.googlesource.com/c/go/+/614835\nReviewed-by: Filippo Valsorda \nReviewed-by: Cuong Manh Le \nAuto-Submit: Jason Donenfeld \nReviewed-by: Paul Murphy \nLUCI-TryBot-Result: Go LUCI \nReviewed-by: David Chase \nReviewed-by: Michael Pratt ","shortMessageHtmlLink":"runtime: use vDSO for getrandom() on linux"}},{"before":"b2f3a427dd554874eab570d03297468d22f903b6","after":"464aae706b0ca1edc96b6c6988a1553d75605fca","ref":"refs/heads/master","pushedAt":"2024-09-07T08:35:52.000Z","pushType":"push","commitsCount":167,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"go/printer: check whether !isTypeElem, instead of combinesWithName when ParenExpr\n\nSee discussion in CL 610115 and CL 610758.\n\nFor #69206\n\nChange-Id: I16f394cb3440106650fb64a466f2723a4dba3871\nGitHub-Last-Rev: 37993b5baf11f83e8fb9428981965f2d964cddf3\nGitHub-Pull-Request: golang/go#69309\nReviewed-on: https://go-review.googlesource.com/c/go/+/611355\nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Dmitri Shuralyov \nReviewed-by: Robert Griesemer \nAuto-Submit: Robert Griesemer ","shortMessageHtmlLink":"go/printer: check whether !isTypeElem, instead of combinesWithName wh…"}},{"before":"27093581b2828a2752a6d2711def09517eb2513b","after":"b2f3a427dd554874eab570d03297468d22f903b6","ref":"refs/heads/master","pushedAt":"2024-08-23T02:30:27.000Z","pushType":"push","commitsCount":55,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"os: improve Getwd documentation\n\n1. Replace \"rooted path name\" with a more accurate \"absolute path name\".\nUsing \"absolute\" seems to be preferred terminology on Unix. On Windows,\nthere are multiple roots in Windows, thus \"a rooted path name\" can be\none relative to a drive letter or a server name. Note that Windows'\nGetCurrentDirectory documentation [1] also says \"the absolute path to the\ncurrent directory\".\n\n2. Add a note about using $PWD on Unix.\n\n[1]: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getcurrentdirectory\n\nChange-Id: Ic310f0f8776ff059544789306ae5cfa1fa267b12\nReviewed-on: https://go-review.googlesource.com/c/go/+/607615\nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Ian Lance Taylor \nAuto-Submit: Ian Lance Taylor \nReviewed-by: Cherry Mui ","shortMessageHtmlLink":"os: improve Getwd documentation"}},{"before":"a01820c7337c0c918da2dae2b2158697683bde50","after":"27093581b2828a2752a6d2711def09517eb2513b","ref":"refs/heads/master","pushedAt":"2024-08-19T07:20:53.000Z","pushType":"push","commitsCount":60,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"cmd/mod/edit: add -tool and -droptool support\n\nFor golang/go#48429\n\nChange-Id: I1a7bd8ffddbc65e3b687dc1d40f3853702e1b5dc\nReviewed-on: https://go-review.googlesource.com/c/go/+/521958\nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Sam Thanawalla \nReviewed-by: Michael Matloob \nTryBot-Result: Gopher Robot ","shortMessageHtmlLink":"cmd/mod/edit: add -tool and -droptool support"}},{"before":"f428c7b729d3d9b37ed4dacddcd7ff88f4213f70","after":"a01820c7337c0c918da2dae2b2158697683bde50","ref":"refs/heads/master","pushedAt":"2024-08-09T11:29:36.000Z","pushType":"push","commitsCount":38,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"os/user: speed up Current on Windows\n\nuser.Current is slow on Windows sessions connected to an Active\nDirectory domain. This is because it uses Windows APIs that do RPC\ncalls to the domain controller, such as TranslateAccountW and\nNetUserGetInfo.\n\nThis change speeds up user.Current by using the GetUserNameEx API\ninstead, which is already optimized for retrieving the current user\nname in different formats.\n\nThese are the improvements I see with the new implementation:\n\ngoos: windows\ngoarch: amd64\npkg: os/user\ncpu: Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz\n │ old.txt │ new.txt │\n │ sec/op │ sec/op vs base │\nCurrent-12 501.8µ ± 7% 118.6µ ± 11% -76.36% (p=0.000 n=10)\n\n │ old.txt │ new.txt │\n │ B/op │ B/op vs base │\nCurrent-12 888.0 ± 0% 832.0 ± 0% -6.31% (p=0.000 n=10)\n\n │ old.txt │ new.txt │\n │ allocs/op │ allocs/op vs base │\nCurrent-12 15.00 ± 0% 11.00 ± 0% -26.67% (p=0.000 n=10)\n\nUpdates #5298\nFixes #21867\nFixes #68312\n\nCq-Include-Trybots: luci.golang.try:gotip-windows-amd64-longtest\nChange-Id: I893c5fcca6969050d73a20ed34770846becd5f5e\nReviewed-on: https://go-review.googlesource.com/c/go/+/597255\nReviewed-by: Ian Lance Taylor \nReviewed-by: Michael Knyszek \nReviewed-by: Alex Brainman \nLUCI-TryBot-Result: Go LUCI ","shortMessageHtmlLink":"os/user: speed up Current on Windows"}},{"before":"aec5cc52add9d8da0b5ac4e51758d10ee35589db","after":"f428c7b729d3d9b37ed4dacddcd7ff88f4213f70","ref":"refs/heads/master","pushedAt":"2024-08-03T12:19:03.000Z","pushType":"push","commitsCount":97,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"cmd/internal/obj/loong64: add FLDX,FSTX,LDX.STX instructions support\n\nThe LDX.{B,BU,H,HU,W,WU,D},STX.{B,H,W,D}, FLDX.{S,D}, FSTX.{S,D} instruction\non Loong64 implements memory access operations using register offset\n\nGo asm syntax:\n\tMOV{B,BU,H,HU,W,WU,V}\t(RJ)(RK), RD\n\tMOV{B,H,W,V}\t\tRD, (RJ)(RK)\n\tMOV{F,D}\t\t(RJ)(RK), FD\n\tMOV{F,D}\t\tFD, (RJ)(RK)\n\nEquivalent platform assembler syntax:\n ldx.{b,bu,h,hu,w,wu,d}\trd, rj, rk\n stx.{b,h,w,d}\t\trd, rj, rk\n fldx.{s,d}\t\tfd, rj, rk\n fstx.{s,d}\t\tfd, rj, rk\n\nRef: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html\n\nChange-Id: Ic7d13bf45dab8342f034b6469465e6337a087144\nReviewed-on: https://go-review.googlesource.com/c/go/+/588215\nReviewed-by: sophie zhao \nReviewed-by: Michael Knyszek \nReviewed-by: Cherry Mui \nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Qiqi Huang \nReviewed-by: Meidan Li \nAuto-Submit: abner chenc ","shortMessageHtmlLink":"cmd/internal/obj/loong64: add FLDX,FSTX,LDX.STX instructions support"}},{"before":"c5430dc1d8d96cfd0c85a6d760262676d798a6a9","after":"aec5cc52add9d8da0b5ac4e51758d10ee35589db","ref":"refs/heads/master","pushedAt":"2024-07-28T09:32:34.000Z","pushType":"push","commitsCount":40,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"cmd/link/internal/loadelf: remove useless relocation size information of loong64\n\nAs of CL 455017 we have switched to following the new style relocations on\nloong64, these stack based relocations should be removed.\n\nChange-Id: Ic129a5665cf6f183a32e13b6f1a55d712a99d721\nReviewed-on: https://go-review.googlesource.com/c/go/+/537335\nReviewed-by: sophie zhao \nReviewed-by: Cherry Mui \nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Than McIntosh \nAuto-Submit: abner chenc \nCommit-Queue: abner chenc \nReviewed-by: Qiqi Huang \nReviewed-by: abner chenc ","shortMessageHtmlLink":"cmd/link/internal/loadelf: remove useless relocation size information…"}},{"before":"70491a81113e7003e314451f3e3cf134c4d41dd7","after":"c5430dc1d8d96cfd0c85a6d760262676d798a6a9","ref":"refs/heads/master","pushedAt":"2024-07-24T01:27:11.000Z","pushType":"push","commitsCount":40,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"regexp: allow patterns with no alternates to be one-pass\n\nCheck whether a regex has any 'alt' instructions before rejecting it as one-pass.\nPreviously `^abc` would run the backtrack matcher.\n\nI tried to make the comment match what the code does now.\n\nUpdates #21463\n\n```\nname old time/op new time/op delta\nFind-8 167ns ± 1% 170ns ± 3% ~ (p=0.500 n=5+5)\nFindAllNoMatches-8 88.8ns ± 5% 87.3ns ± 0% ~ (p=0.095 n=5+5)\nFindString-8 166ns ± 3% 164ns ± 0% ~ (p=0.063 n=5+5)\nFindSubmatch-8 191ns ± 1% 191ns ± 0% ~ (p=0.556 n=4+5)\nFindStringSubmatch-8 183ns ± 0% 182ns ± 0% -0.43% (p=0.048 n=5+5)\nLiteral-8 50.3ns ± 0% 50.1ns ± 0% -0.40% (p=0.016 n=5+4)\nNotLiteral-8 914ns ± 0% 927ns ± 7% ~ (p=0.730 n=5+5)\nMatchClass-8 1.20µs ± 1% 1.22µs ± 6% ~ (p=0.738 n=5+5)\nMatchClass_InRange-8 1.20µs ± 6% 1.21µs ± 6% ~ (p=0.548 n=5+5)\nReplaceAll-8 796ns ± 0% 792ns ± 0% -0.51% (p=0.032 n=5+5)\nAnchoredLiteralShortNonMatch-8 41.0ns ± 2% 34.2ns ± 2% -16.47% (p=0.008 n=5+5)\nAnchoredLiteralLongNonMatch-8 53.3ns ± 0% 34.3ns ± 3% -35.74% (p=0.008 n=5+5)\nAnchoredShortMatch-8 74.0ns ± 2% 75.8ns ± 0% +2.46% (p=0.032 n=5+4)\nAnchoredLongMatch-8 146ns ± 3% 76ns ± 1% -48.12% (p=0.008 n=5+5)\nOnePassShortA-8 424ns ± 0% 423ns ± 0% ~ (p=0.222 n=5+4)\nNotOnePassShortA-8 373ns ± 1% 375ns ± 2% ~ (p=0.690 n=5+5)\nOnePassShortB-8 315ns ± 2% 308ns ± 0% -2.12% (p=0.008 n=5+5)\nNotOnePassShortB-8 244ns ± 3% 239ns ± 0% ~ (p=0.476 n=5+5)\nOnePassLongPrefix-8 61.6ns ± 2% 60.9ns ± 0% -1.13% (p=0.016 n=5+4)\nOnePassLongNotPrefix-8 236ns ± 3% 230ns ± 0% ~ (p=0.143 n=5+5)\n```\n\nChange-Id: I8a94b53bc761cd7ec89923c905ec8baaaa58a5fd\nGitHub-Last-Rev: e9e0c29b7448c8ab7cb203c1ed58766dc5d91456\nGitHub-Pull-Request: golang/go#48748\nReviewed-on: https://go-review.googlesource.com/c/go/+/353711\nReviewed-by: Daniel Martí \nReviewed-by: Russ Cox \nAuto-Submit: Ian Lance Taylor \nReviewed-by: Dmitri Shuralyov \nAuto-Submit: Ian Lance Taylor \nLUCI-TryBot-Result: Go LUCI \nCommit-Queue: Ian Lance Taylor \nReviewed-by: Brad Fitzpatrick \nReviewed-by: Ian Lance Taylor ","shortMessageHtmlLink":"regexp: allow patterns with no alternates to be one-pass"}},{"before":"87ec2c959c73e62bfae230ef7efca11ec2a90804","after":"70491a81113e7003e314451f3e3cf134c4d41dd7","ref":"refs/heads/master","pushedAt":"2024-07-19T02:58:31.000Z","pushType":"push","commitsCount":38,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"maps: document handling of non-reflexive keys\n\nFixes #63312\n\nChange-Id: I7861bddcd4c6dc208b4449b923eb2785a122aadf\nReviewed-on: https://go-review.googlesource.com/c/go/+/553157\nReviewed-by: Keith Randall \nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Ian Lance Taylor \nReviewed-by: Keith Randall \nReviewed-by: qiu laidongfeng2 <2645477756@qq.com>\nAuto-Submit: Keith Randall ","shortMessageHtmlLink":"maps: document handling of non-reflexive keys"}},{"before":"6d89b38ed86e0bfa0ddaba08dc4071e6bb300eea","after":"87ec2c959c73e62bfae230ef7efca11ec2a90804","ref":"refs/heads/master","pushedAt":"2024-07-09T04:45:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"testing: remove call to os.Exit in documentation for TestMain\n\nIn the example for the TestMain function, os.Exit was called explicitly,\nwhich is no longer necessary since Go 1.15 (see change #219639).\n\nUpdates #34129\n\nChange-Id: Ia8021de0d5699742adbb7ab6d28b11c841e596dc\nReviewed-on: https://go-review.googlesource.com/c/go/+/596977\nReviewed-by: Ian Lance Taylor \nReviewed-by: Damien Neil \nAuto-Submit: Ian Lance Taylor \nLUCI-TryBot-Result: Go LUCI ","shortMessageHtmlLink":"testing: remove call to os.Exit in documentation for TestMain"}},{"before":"5a18e79687dea15680ff5f799b549fa0efd0cad9","after":"6d89b38ed86e0bfa0ddaba08dc4071e6bb300eea","ref":"refs/heads/master","pushedAt":"2024-07-08T03:55:31.000Z","pushType":"push","commitsCount":23,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"unsafe: clarify when String bytes can be modified\n\nThey can be modified when the string returned by String no longer exists.\n\nFixes #68300\n\nChange-Id: I526a068151f7aad1ab6827504b51a84e7399cafe\nReviewed-on: https://go-review.googlesource.com/c/go/+/596955\nReviewed-by: Keith Randall \nReviewed-by: Keith Randall \nReviewed-by: Than McIntosh \nCommit-Queue: Ian Lance Taylor \nAuto-Submit: Ian Lance Taylor \nLUCI-TryBot-Result: Go LUCI ","shortMessageHtmlLink":"unsafe: clarify when String bytes can be modified"}},{"before":"e8ee1dc4f9e2632ba1018610d1a1187743ae397f","after":"5a18e79687dea15680ff5f799b549fa0efd0cad9","ref":"refs/heads/master","pushedAt":"2024-06-27T05:50:40.000Z","pushType":"push","commitsCount":14,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"cmd/link: don't skip code sign even if dsymutil didn't generate a file\n\nEven if dsymutil didn't generate a file (which should not happen\nwith the Apple toolchain with the correct setup), we should not\nskip next steps, e.g. code sign. A return statement makes it exit\ntoo early.\n\nUpdates #68088.\n\nChange-Id: Ic1271ed1b7fe5bdee5a25cc5d669a105173b389e\nReviewed-on: https://go-review.googlesource.com/c/go/+/593660\nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Than McIntosh ","shortMessageHtmlLink":"cmd/link: don't skip code sign even if dsymutil didn't generate a file"}},{"before":"4f77a83589baa5a3038cc6e35615084dc7e5f0c1","after":"e8ee1dc4f9e2632ba1018610d1a1187743ae397f","ref":"refs/heads/master","pushedAt":"2024-06-24T13:42:45.000Z","pushType":"push","commitsCount":17,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"cmd/link/internal/ld: handle \"\\r\" in MinGW \"--print-prog-name\" output\n\nFix the \"gcc --print-prog-name\" output parser to handle \"\\r\\n\", not only\n\"\\n\". The MinGW compiler on Windows uses \"\\r\\n\" as line endings, causing\nthe existing parser to create paths like\n\".../x86_64-w64-mingw32/bin/ar.exe\\r\", which is not correct. By trimming\nthe \"\\r\\n\" cutset, both types of line endings are handled correctly.\n\nFixes #68121\n\nChange-Id: I04b8bf9b6a5b29a1e59a6aa07fa4faa4c5bdeee6\nReviewed-on: https://go-review.googlesource.com/c/go/+/593916\nLUCI-TryBot-Result: Go LUCI \nAuto-Submit: Ian Lance Taylor \nReviewed-by: Ian Lance Taylor \nReviewed-by: Cherry Mui \nCommit-Queue: Ian Lance Taylor ","shortMessageHtmlLink":"cmd/link/internal/ld: handle \"\\r\" in MinGW \"--print-prog-name\" output"}},{"before":"5bf8c0cf09ee5c7e5a37ab90afcce154ab716a97","after":"4f77a83589baa5a3038cc6e35615084dc7e5f0c1","ref":"refs/heads/master","pushedAt":"2024-06-19T08:28:36.000Z","pushType":"push","commitsCount":95,"pusher":{"login":"xingole","name":"Jianxing Zhang","path":"/xingole","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110584358?s=80&v=4"},"commit":{"message":"internal/syscall/unix: fix UTIME_OMIT for dragonfly\n\nCL 219638 added UTIME_OMIT values for various systems. The value for\nDragonFly BSD appears to be incorrect.\n\nThe correct value is -2 (see references below), while -1 is used for\nUTIME_NOW. As a result, timestamp is changed to the current time instead\nof not touching. This should have been caught by the accompanying test\ncase, TestChtimesWithZeroTimes, but its failures are essentially skipped\non dragonfly (this is being fixed separately in a followup CL 591535).\n\nImprove formatting while at it.\n\nReferences:\n - https://github.com/DragonFlyBSD/DragonFlyBSD/blob/965b380e9609/sys/sys/stat.h#L284\n - https://go.googlesource.com/sys/+/refs/tags/v0.20.0/unix/zerrors_dragonfly_amd64.go#1421\n\nChange-Id: I432360ca982c84b7cd70d0cf01d860af9ff985fa\nReviewed-on: https://go-review.googlesource.com/c/go/+/589496\nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Cherry Mui \nAuto-Submit: Ian Lance Taylor \nReviewed-by: Ian Lance Taylor \nCommit-Queue: Ian Lance Taylor ","shortMessageHtmlLink":"internal/syscall/unix: fix UTIME_OMIT for dragonfly"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yOFQwNzowNDoxNy4wMDAwMDBazwAAAATDPZqU","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0xOVQwODoyODozNi4wMDAwMDBazwAAAARpTFMD"}},"title":"Activity · xingole/go"}