1
0
mirror of https://github.com/golang/go synced 2024-11-14 18:30:31 -07:00
go/test/bench/garbage/Makefile
Russ Cox a6d8b483b6 runtime: make garbage collector faster by deleting code
Suggested by Sanjay Ghemawat.  5-20% faster depending
on the benchmark.

Add tree2 garbage benchmark.
Update other garbage benchmarks to build again.

R=golang-dev, r, adg
CC=golang-dev
https://golang.org/cl/5530074
2012-01-10 19:49:11 -08:00

29 lines
477 B
Makefile

# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
include ../../../src/Make.inc
ALL=\
parser\
peano\
tree\
tree2\
all: $(addsuffix .out, $(ALL))
%.$O: %.go stats.go
$(GC) $(GCFLAGS) $(GCIMPORTS) $*.go stats.go
%.out: %.$O
$(LD) -o $@ $*.$O
%.bench: %.out
time ./$*.out
bench: $(addsuffix .bench, $(ALL))
clean:
rm -f *.[$(OS)] $(addsuffix .out, $(ALL))