Skip to content

Commit

Permalink
Move benchmarks out of the repository (JuliaLang#26327)
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Mar 6, 2018
1 parent e542b28 commit c1e7c93
Show file tree
Hide file tree
Showing 117 changed files with 2 additions and 43,148 deletions.
1 change: 0 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Julia includes code from the following projects, which have their own licenses:
- [MINGW](https://sourceforge.net/p/mingw/mingw-org-wsl/ci/legacy/tree/mingwrt/mingwex/dirname.c) (for dirname implementation on Windows) [MIT]
- [NetBSD](http:https://www.netbsd.org/about/redistribution.html) (for setjmp, longjmp, and strptime implementations on Windows) [BSD-3]
- [Python](https://docs.python.org/2/license.html) (for strtod implementation on Windows) [BSD-3, effectively]
- [randmtzig.c](https://github.com/JuliaLang/julia/blob/master/test/perf/micro/randmtzig.c) for Gaussian random number generation (for C benchmarks only) [BSD-3]

The Julia language links to the following external libraries, which have their
own licenses:
Expand Down
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ all: debug release
# sort is used to remove potential duplicates
DIRS := $(sort $(build_bindir) $(build_depsbindir) $(build_libdir) $(build_private_libdir) $(build_libexecdir) $(build_includedir) $(build_includedir)/julia $(build_sysconfdir)/julia $(build_datarootdir)/julia $(build_datarootdir)/julia/site $(build_man1dir))
ifneq ($(BUILDROOT),$(JULIAHOME))
BUILDDIRS := $(BUILDROOT) $(addprefix $(BUILDROOT)/,base src ui doc deps test test/embedding test/perf)
BUILDDIRS := $(BUILDROOT) $(addprefix $(BUILDROOT)/,base src ui doc deps test test/embedding)
BUILDDIRMAKE := $(addsuffix /Makefile,$(BUILDDIRS))
DIRS := $(DIRS) $(BUILDDIRS)
$(BUILDDIRMAKE): | $(BUILDDIRS)
Expand Down Expand Up @@ -115,8 +115,6 @@ release-candidate: release testall
exit 1; \
fi

@#Check that benchmarks work
@$(MAKE) -C $(BUILDROOT)/test/perf
@#Check that netload tests work
@#for test in test/netload/*.jl; do julia $$test; if [ $$? -ne 0 ]; then exit 1; fi; done
@echo
Expand Down Expand Up @@ -340,8 +338,6 @@ endif
cp -R -L $(build_datarootdir)/julia $(DESTDIR)$(datarootdir)/
# Copy documentation
cp -R -L $(BUILDROOT)/doc/_build/html $(DESTDIR)$(docdir)/
# Remove perf suite
-rm -rf $(DESTDIR)$(datarootdir)/julia/test/perf/
# Remove various files which should not be installed
-rm -f $(DESTDIR)$(datarootdir)/julia/base/version_git.sh
-rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile
Expand Down Expand Up @@ -534,12 +530,6 @@ testall1: check-whitespace $(JULIA_BUILD_MODE)
test-%: check-whitespace $(JULIA_BUILD_MODE)
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test $* JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

perf: release
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test/perf JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

perf-%: release
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test/perf $* JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)

# download target for some hardcoded windows dependencies
.PHONY: win-extras wine_path
win-extras:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ The Julia source code is organized as follows:
doc/src/stdlib source for standard library function reference
src/ source for Julia language core
test/ test suites
test/perf benchmark suites
ui/ source for various front ends
usr/ binaries and shared libraries loaded by Julia's standard libraries

Expand Down
1 change: 0 additions & 1 deletion contrib/add_license_to_files.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const skipfiles = [
"../src/support/strtod.c",
"../src/support/tzfile.h",
"../src/support/utf8.c",
"../test/perf/micro/randmtzig.c",
"../src/crc32c.c",
]

Expand Down
6 changes: 1 addition & 5 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ $(TESTS):
embedding:
@$(MAKE) -C $(SRCDIR)/$@ check $(EMBEDDING_ARGS)

perf:
@$(MAKE) -C $(SRCDIR)/perf all

clean:
@$(MAKE) -C embedding $@ $(EMBEDDING_ARGS)
@$(MAKE) -C perf $@

.PHONY: $(TESTS) embedding perf clean
.PHONY: $(TESTS) embedding clean
1 change: 0 additions & 1 deletion test/perf/.gitignore

This file was deleted.

33 changes: 0 additions & 33 deletions test/perf/Makefile

This file was deleted.

67 changes: 0 additions & 67 deletions test/perf/README.md

This file was deleted.

174 changes: 0 additions & 174 deletions test/perf/array/indexing.jl

This file was deleted.

Loading

0 comments on commit c1e7c93

Please sign in to comment.