Go 1.2 Release Candidate 3 released

1,421 views
Skip to first unread message

Andrew Gerrand

unread,
Oct 31, 2013, 10:50:20 PM10/31/13
to golang-nuts
Hi Go nuts,

We have just released go1.2rc3, a release candidate for Go 1.2.

This release candidate should be stable, but please exercise caution when deploying to production systems.

Please help us by testing your Go programs with the new tool chain and libraries, and report any problems using the issue tracker:
    http://golang.org/issue/new

You can download binary and source distributions from the usual place:
    https://code.google.com/p/go/downloads/list?q=go1.2rc3

To compile from source, update to the go1.2rc3 tag with "hg update go1.2rc3" and build as usual.

To find out what has changed, read the release notes for Go 1.2:
    http://tip.golang.org/doc/go1.2

Documentation for Go 1.2 is available at http://tip.golang.org/

Thanks to everyone who has contributed to the release so far.

Andrew

Jhonathan Banczek

unread,
Oct 31, 2013, 10:56:54 PM10/31/13
to golan...@googlegroups.com
Thanks!! we will test ;)

Keith Rarick

unread,
Nov 1, 2013, 8:17:57 PM11/1/13
to Andrew Gerrand, golang-nuts
If you're using the Heroku buildpack with godep,
you don't need to do anything extra to use go1.2rc3,
or any other Go release. It'll automatically use the
version of Go listed in your Godeps.

For more about godep:
https://github.com/kr/godep
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Jan Mercl

unread,
Nov 4, 2013, 9:46:50 AM11/4/13
to Andrew Gerrand, golang-nuts
On Fri, Nov 1, 2013 at 3:50 AM, Andrew Gerrand <a...@golang.org> wrote:
> We have just released go1.2rc3, a release candidate for Go 1.2.
>
> Please help us by testing your Go programs with the new tool chain and
> libraries, and report any problems using the issue tracker:
>     http://golang.org/issue/new

Hi Andrew,

before using the issue tracker I would like to first have a peer review of some (too) strange performance data, _possibly_ showing some regressions in rc3 wrt the release version.

The data below were obtained on a machine booting into a console (no GUI, no X). The benchmarks were run as the first thing after reboot and login. Attached files are: old - release 1.1.2, new - 1.2 rc3.

Here's the diff:

(13:35) jnml@r550 ~/src/github.com/cznic/ql $ benchcmp old new > diff
(15:31) jnml@r550 ~/src/github.com/cznic/ql $ cat diff
benchmark                            old ns/op    new ns/op    delta
BenchmarkSelectMem1kBx1e2                26882        26055   -3.08%
BenchmarkSelectFile1kBx1e2              376229       400740   +6.51%
BenchmarkSelectMem1kBx1e3               243372       229268   -5.80%
BenchmarkSelectFile1kBx1e3             8585097      7610925  -11.35%
BenchmarkSelectMem1kBx1e4              3195562      2962832   -7.28%
BenchmarkSelectFile1kBx1e4           177067042    169185166   -4.45%
BenchmarkSelectMem1kBx1e5             37525309     37082117   -1.18%
BenchmarkSelectFile1kBx1e5         17559061191  17780297295   +1.26%
BenchmarkSelectOrderedMem1kBx1e2        296782       367040  +23.67%
BenchmarkSelectOrderedFile1kBx1e2     14628003     21085645  +44.15%
BenchmarkSelectOrderedMem1kBx1e3       4024671      3107953  -22.78%
BenchmarkSelectOrderedFile1kBx1e3    339048271    496991805  +46.58%
BenchmarkSelectOrderedMem1kBx1e4      52785892     32700228  -38.05%
BenchmarkSelectOrderedFile1kBx1e4   5435534191   5514286295   +1.45%
BenchmarkInsertMem1kBn1e0t1e2           409838       829125  +102.31%
BenchmarkInsertFile1kBn1e0t1e2         4832810      8116743  +67.95%
BenchmarkInsertMem1kBn1e0t1e3          3553691      9653351  +171.64%
BenchmarkInsertFile1kBn1e0t1e3        51917306     57834353  +11.40%
BenchmarkInsertMem1kBn1e0t1e4         39702529     63093328  +58.92%
BenchmarkInsertFile1kBn1e0t1e4       489000793    506957464   +3.67%
BenchmarkInsertMem1kBn1e0t1e5        407506568    577748353  +41.78%
BenchmarkInsertFile1kBn1e0t1e5     11755618362  15359904269  +30.66%
BenchmarkInsertMem1kBn1e1t1e2           204422       693158  +239.08%
BenchmarkInsertFile1kBn1e1t1e2         3876398      5319218  +37.22%
BenchmarkInsertMem1kBn1e1t1e3          1852690      4385200  +136.69%
BenchmarkInsertFile1kBn1e1t1e3        35290197     41581975  +17.83%
BenchmarkInsertMem1kBn1e1t1e4         18292305     29581025  +61.71%
BenchmarkInsertFile1kBn1e1t1e4       374617342    375958425   +0.36%
BenchmarkInsertMem1kBn1e1t1e5        193865497    292887023  +51.08%
BenchmarkInsertFile1kBn1e1t1e5      3771663687   3684985980   -2.30%
BenchmarkInsertMem1kBn1e2t1e2           169501       524536  +209.46%
BenchmarkInsertFile1kBn1e2t1e2         3521484      5742193  +63.06%
BenchmarkInsertMem1kBn1e2t1e3          1304745      3313108  +153.93%
BenchmarkInsertFile1kBn1e2t1e3        36259521     39726475   +9.56%
BenchmarkInsertMem1kBn1e2t1e4         18105343     18320079   +1.19%
BenchmarkInsertFile1kBn1e2t1e4       334955301    358329116   +6.98%
BenchmarkInsertMem1kBn1e2t1e5        161774796    230466614  +42.46%
BenchmarkInsertFile1kBn1e2t1e5      3620182183  13965215974  +285.76%
BenchmarkInsertMem1kBn1e3t1e3          1601042      2440137  +52.41%
BenchmarkInsertFile1kBn1e3t1e3        39431756     38833346   -1.52%
BenchmarkInsertMem1kBn1e3t1e4         14208028     26236387  +84.66%
BenchmarkInsertFile1kBn1e3t1e4       343228690    377001454   +9.84%
BenchmarkInsertMem1kBn1e3t1e5        159775014    213961687  +33.91%
BenchmarkInsertFile1kBn1e3t1e5      3708917514   3477963968   -6.23%

benchmark                             old MB/s     new MB/s  speedup
BenchmarkSelectMem1kBx1e2              3816.63      3937.77    1.03x
BenchmarkSelectFile1kBx1e2              272.71       256.03    0.94x
BenchmarkSelectMem1kBx1e3              4215.75      4475.10    1.06x
BenchmarkSelectFile1kBx1e3              119.51       134.81    1.13x
BenchmarkSelectMem1kBx1e4              3210.70      3462.90    1.08x
BenchmarkSelectFile1kBx1e4               57.94        60.64    1.05x
BenchmarkSelectMem1kBx1e5              2734.15      2766.83    1.01x
BenchmarkSelectFile1kBx1e5                5.84         5.77    0.99x
BenchmarkSelectOrderedMem1kBx1e2        345.71       279.53    0.81x
BenchmarkSelectOrderedFile1kBx1e2         7.01         4.87    0.69x
BenchmarkSelectOrderedMem1kBx1e3        254.93       330.12    1.29x
BenchmarkSelectOrderedFile1kBx1e3         3.03         2.06    0.68x
BenchmarkSelectOrderedMem1kBx1e4        194.37       313.76    1.61x
BenchmarkSelectOrderedFile1kBx1e4         1.89         1.86    0.98x
BenchmarkInsertMem1kBn1e0t1e2           250.34       123.74    0.49x
BenchmarkInsertFile1kBn1e0t1e2           21.23        12.64    0.60x
BenchmarkInsertMem1kBn1e0t1e3           288.71       106.28    0.37x
BenchmarkInsertFile1kBn1e0t1e3           19.76        17.74    0.90x
BenchmarkInsertMem1kBn1e0t1e4           258.42       162.62    0.63x
BenchmarkInsertFile1kBn1e0t1e4           20.98        20.24    0.96x
BenchmarkInsertMem1kBn1e0t1e5           251.78       177.59    0.71x
BenchmarkInsertFile1kBn1e0t1e5            8.73         6.68    0.77x
BenchmarkInsertMem1kBn1e1t1e2           501.90       148.02    0.29x
BenchmarkInsertFile1kBn1e1t1e2           26.47        19.29    0.73x
BenchmarkInsertMem1kBn1e1t1e3           553.79       233.97    0.42x
BenchmarkInsertFile1kBn1e1t1e3           29.07        24.67    0.85x
BenchmarkInsertMem1kBn1e1t1e4           560.89       346.84    0.62x
BenchmarkInsertFile1kBn1e1t1e4           27.39        27.29    1.00x
BenchmarkInsertMem1kBn1e1t1e5           529.23       350.31    0.66x
BenchmarkInsertFile1kBn1e1t1e5           27.20        27.84    1.02x
BenchmarkInsertMem1kBn1e2t1e2           605.30       195.60    0.32x
BenchmarkInsertFile1kBn1e2t1e2           29.14        17.87    0.61x
BenchmarkInsertMem1kBn1e2t1e3           786.36       309.68    0.39x
BenchmarkInsertFile1kBn1e2t1e3           28.30        25.83    0.91x
BenchmarkInsertMem1kBn1e2t1e4           566.68       560.04    0.99x
BenchmarkInsertFile1kBn1e2t1e4           30.63        28.63    0.93x
BenchmarkInsertMem1kBn1e2t1e5           634.21       445.18    0.70x
BenchmarkInsertFile1kBn1e2t1e5           28.34         7.35    0.26x
BenchmarkInsertMem1kBn1e3t1e3           640.83       420.47    0.66x
BenchmarkInsertFile1kBn1e3t1e3           26.02        26.42    1.02x
BenchmarkInsertMem1kBn1e3t1e4           722.13       391.06    0.54x
BenchmarkInsertFile1kBn1e3t1e4           29.89        27.21    0.91x
BenchmarkInsertMem1kBn1e3t1e5           642.15       479.53    0.75x
BenchmarkInsertFile1kBn1e3t1e5           27.66        29.50    1.07x

benchmark                           old allocs   new allocs    delta
BenchmarkSelectMem1kBx1e2                  123          123    0.00%
BenchmarkSelectFile1kBx1e2                1126         1125   -0.09%
BenchmarkSelectMem1kBx1e3                 1041         1041    0.00%
BenchmarkSelectFile1kBx1e3               11192        11195    0.03%
BenchmarkSelectMem1kBx1e4                10215        10216    0.01%
BenchmarkSelectFile1kBx1e4              142125       142102   -0.02%
BenchmarkSelectMem1kBx1e5               101963       101961   -0.00%
BenchmarkSelectFile1kBx1e5             8073722      8073403   -0.00%
BenchmarkSelectOrderedMem1kBx1e2           344          343   -0.29%
BenchmarkSelectOrderedFile1kBx1e2        14122        13476   -4.57%
BenchmarkSelectOrderedMem1kBx1e3          3967         3963   -0.10%
BenchmarkSelectOrderedFile1kBx1e3       202016       195313   -3.32%
BenchmarkSelectOrderedMem1kBx1e4         40467        40447   -0.05%
BenchmarkSelectOrderedFile1kBx1e4      3032745      2970381   -2.06%
BenchmarkInsertMem1kBn1e0t1e2             1315         1316    0.08%
BenchmarkInsertFile1kBn1e0t1e2            3514         3451   -1.79%
BenchmarkInsertMem1kBn1e0t1e3            13140        13143    0.02%
BenchmarkInsertFile1kBn1e0t1e3           35255        34617   -1.81%
BenchmarkInsertMem1kBn1e0t1e4           131371       131352   -0.01%
BenchmarkInsertFile1kBn1e0t1e4          342167       337991   -1.22%
BenchmarkInsertMem1kBn1e0t1e5          1313270      1315250    0.15%
BenchmarkInsertFile1kBn1e0t1e5         6035449      7379638   22.27%
BenchmarkInsertMem1kBn1e1t1e2              631          629   -0.32%
BenchmarkInsertFile1kBn1e1t1e2            2418         2406   -0.50%
BenchmarkInsertMem1kBn1e1t1e3             6309         6286   -0.36%
BenchmarkInsertFile1kBn1e1t1e3           24279        24167   -0.46%
BenchmarkInsertMem1kBn1e1t1e4            63084        62841   -0.39%
BenchmarkInsertFile1kBn1e1t1e4          234696       233886   -0.35%
BenchmarkInsertMem1kBn1e1t1e5           630539       630313   -0.04%
BenchmarkInsertFile1kBn1e1t1e5         2322027      2320018   -0.09%
BenchmarkInsertMem1kBn1e2t1e2              522          521   -0.19%
BenchmarkInsertFile1kBn1e2t1e2            2287         2271   -0.70%
BenchmarkInsertMem1kBn1e2t1e3             5216         5198   -0.35%
BenchmarkInsertFile1kBn1e2t1e3           23002        22977   -0.11%
BenchmarkInsertMem1kBn1e2t1e4            52154        51836   -0.61%
BenchmarkInsertFile1kBn1e2t1e4          222136       222091   -0.02%
BenchmarkInsertMem1kBn1e2t1e5           521349       520566   -0.15%
BenchmarkInsertFile1kBn1e2t1e5         2202472      6524258  196.22%
BenchmarkInsertMem1kBn1e3t1e3             5076         5061   -0.30%
BenchmarkInsertFile1kBn1e3t1e3           22834        22801   -0.14%
BenchmarkInsertMem1kBn1e3t1e4            50747        50553   -0.38%
BenchmarkInsertFile1kBn1e3t1e4          220566       220308   -0.12%
BenchmarkInsertMem1kBn1e3t1e5           507135       505548   -0.31%
BenchmarkInsertFile1kBn1e3t1e5         2187587      2187493   -0.00%

benchmark                            old bytes    new bytes    delta
BenchmarkSelectMem1kBx1e2                 8758         8704   -0.62%
BenchmarkSelectFile1kBx1e2              375997       374143   -0.49%
BenchmarkSelectMem1kBx1e3                83142        82942   -0.24%
BenchmarkSelectFile1kBx1e3             3850357      3845896   -0.12%
BenchmarkSelectMem1kBx1e4               825564       825342   -0.03%
BenchmarkSelectFile1kBx1e4            67561826     67542607   -0.03%
BenchmarkSelectMem1kBx1e5              8249183      8248727   -0.01%
BenchmarkSelectFile1kBx1e5          6479994384   6479743304   -0.00%
BenchmarkSelectOrderedMem1kBx1e2         26230        26070   -0.61%
BenchmarkSelectOrderedFile1kBx1e2      6369654      2666684  -58.13%
BenchmarkSelectOrderedMem1kBx1e3        258377       257513   -0.33%
BenchmarkSelectOrderedFile1kBx1e3    189400883    152388929  -19.54%
BenchmarkSelectOrderedMem1kBx1e4       2507194      2504500   -0.11%
BenchmarkSelectOrderedFile1kBx1e4   2883625792   2514342816  -12.81%
BenchmarkInsertMem1kBn1e0t1e2            80656        78986   -2.07%
BenchmarkInsertFile1kBn1e0t1e2          724129       715204   -1.23%
BenchmarkInsertMem1kBn1e0t1e3           806085       788229   -2.22%
BenchmarkInsertFile1kBn1e0t1e3         7312676      7222824   -1.23%
BenchmarkInsertMem1kBn1e0t1e4          8083971      7944331   -1.73%
BenchmarkInsertFile1kBn1e0t1e4        73189513     72499160   -0.94%
BenchmarkInsertMem1kBn1e0t1e5         83166518     85656832    2.99%
BenchmarkInsertFile1kBn1e0t1e5      3147374520   4476830312   42.24%
BenchmarkInsertMem1kBn1e1t1e2            53405        52852   -1.04%
BenchmarkInsertFile1kBn1e1t1e2          554772       552441   -0.42%
BenchmarkInsertMem1kBn1e1t1e3           533622       528544   -0.95%
BenchmarkInsertFile1kBn1e1t1e3         5565560      5552010   -0.24%
BenchmarkInsertMem1kBn1e1t1e4          5348263      5310576   -0.70%
BenchmarkInsertFile1kBn1e1t1e4        56446832     56338172   -0.19%
BenchmarkInsertMem1kBn1e1t1e5         54632958     55754470    2.05%
BenchmarkInsertFile1kBn1e1t1e5       556983296    556482608   -0.09%
BenchmarkInsertMem1kBn1e2t1e2            44333        44093   -0.54%
BenchmarkInsertFile1kBn1e2t1e2          537405       535668   -0.32%
BenchmarkInsertMem1kBn1e2t1e3           442488       439783   -0.61%
BenchmarkInsertFile1kBn1e2t1e3         5391805      5387763   -0.07%
BenchmarkInsertMem1kBn1e2t1e4          4437260      4393326   -0.99%
BenchmarkInsertFile1kBn1e2t1e4        54720963     54705206   -0.03%
BenchmarkInsertMem1kBn1e2t1e5         44876216     46745667    4.17%
BenchmarkInsertFile1kBn1e2t1e5       540989584   4418487112  716.74%
BenchmarkInsertMem1kBn1e3t1e3           515998       513255   -0.53%
BenchmarkInsertFile1kBn1e3t1e3         5435135      5430189   -0.09%
BenchmarkInsertMem1kBn1e3t1e4          5172391      5139267   -0.64%
BenchmarkInsertFile1kBn1e3t1e4        55153376     55364401    0.38%
BenchmarkInsertMem1kBn1e3t1e5         52209456     53966025    3.36%
BenchmarkInsertFile1kBn1e3t1e5       544477744    544401552   -0.01%
(15:31) jnml@r550 ~/src/github.com/cznic/ql $

----
The machine is a dual X5450 @ 3GHz, 4GB RAM machine. The git commit (of the ql package) is de101a923c51a43bd4e8d3a62ce87c2a396b13e1. Some of the numbers scare me, but I hope that I'm just missing something and/or that I must have made some measurement methodology error.

-j

new
old
diff

Brad Fitzpatrick

unread,
Nov 4, 2013, 10:40:03 AM11/4/13
to Jan Mercl, Andrew Gerrand, golang-nuts
This is too much to do anything with.

Do these tests hit the disk?

Please narrow it down to a small test that shows a problem.  As these are, they're probably too high-level.  At least run a slow test before & after and gather profiles, and see if something sticks out in a profile that didn't before.





Chris McGee

unread,
Nov 4, 2013, 11:51:46 AM11/4/13
to golan...@googlegroups.com
The new release looks great so far.

I will give it a try to see if the gdb variables problem goes away: https://code.google.com/p/go/issues/detail?id=6599

From the release notes I see that the Go scheduler is now pre-emptive. Any idea how this impacts debugging?

With the current release (1.1.2) I see sometimes that when I step over a system call that gdb continues and never returns on the subsequent line. I believe this was because the scheduler had shifted the execution to another goroutine when there is a system call or channel send/receive. With this new scheduler will it cause the same problem while stepping over regular operations such as variable initialization, simple function calls, if-then-else, etc.?

Thanks,
Chris

Andrew Gerrand

unread,
Nov 4, 2013, 11:31:21 PM11/4/13
to Chris McGee, golang-nuts

On 5 November 2013 03:51, Chris McGee <newt...@gmail.com> wrote:
From the release notes I see that the Go scheduler is now pre-emptive. Any idea how this impacts debugging?

With the current release (1.1.2) I see sometimes that when I step over a system call that gdb continues and never returns on the subsequent line. I believe this was because the scheduler had shifted the execution to another goroutine when there is a system call or channel send/receive. With this new scheduler will it cause the same problem while stepping over regular operations such as variable initialization, simple function calls, if-then-else, etc.?

I'm not sure, sorry. I have no reason to think that it will be any worse than the current situation.

Andrew
Reply all
Reply to author
Forward
0 new messages