doc: move profs/ under doc/
This commit is contained in:
		
							parent
							
								
									10fe46d2a8
								
							
						
					
					
						commit
						3ed0ccef0c
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -19,7 +19,6 @@ Makefile.local | |||||||
| /messages | /messages | ||||||
| *.o | *.o | ||||||
| old | old | ||||||
| profs/profs |  | ||||||
| /static | /static | ||||||
| t.* | t.* | ||||||
| tags | tags | ||||||
|  | |||||||
							
								
								
									
										26
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								Makefile
									
									
									
									
									
								
							| @ -553,9 +553,9 @@ quickbench: samplejournals tests/bench.tests tools/simplebench | |||||||
| # run simple performance benchmarks and archive results
 | # run simple performance benchmarks and archive results
 | ||||||
| # Requires some commands defined in tests/bench.tests and some BENCHEXES defined above.
 | # Requires some commands defined in tests/bench.tests and some BENCHEXES defined above.
 | ||||||
| bench: samplejournals tests/bench.tests tools/simplebench | bench: samplejournals tests/bench.tests tools/simplebench | ||||||
| 	tools/simplebench -v -ftests/bench.tests $(BENCHEXES) | tee profs/$(TIME).bench | 	tools/simplebench -v -ftests/bench.tests $(BENCHEXES) | tee doc/profs/$(TIME).bench | ||||||
| 	@rm -f benchresults.* | 	@rm -f benchresults.* | ||||||
| 	@(cd profs; rm -f latest.bench; ln -s $(TIME).bench latest.bench) | 	@(cd doc/profs; rm -f latest.bench; ln -s $(TIME).bench latest.bench) | ||||||
| 
 | 
 | ||||||
| # run criterion benchmark tests and save graphical results
 | # run criterion benchmark tests and save graphical results
 | ||||||
| criterionbench: samplejournals tools/criterionbench | criterionbench: samplejournals tools/criterionbench | ||||||
| @ -569,12 +569,12 @@ progressionbench: samplejournals tools/progressionbench | |||||||
| prof: samplejournals #bin/hledger-prof
 | prof: samplejournals #bin/hledger-prof
 | ||||||
| 	@echo "Profiling: $(PROFCMD)" | 	@echo "Profiling: $(PROFCMD)" | ||||||
| 	-$(PROFCMD) +RTS $(PROFRTSFLAGS) -RTS | 	-$(PROFCMD) +RTS $(PROFRTSFLAGS) -RTS | ||||||
| 	mv hledger-prof.prof profs/$(TIME).prof | 	mv hledger-prof.prof doc/profs/$(TIME).prof | ||||||
| 	(cd profs; rm -f latest*.prof; ln -s $(TIME).prof latest.prof) | 	(cd doc/profs; rm -f latest*.prof; ln -s $(TIME).prof latest.prof) | ||||||
| 
 | 
 | ||||||
| # generate, archive, simplify and display an execution profile
 | # generate, archive, simplify and display an execution profile
 | ||||||
| viewprof: prof | viewprof: prof | ||||||
| 	tools/simplifyprof.hs profs/latest.prof | 	tools/simplifyprof.hs doc/profs/latest.prof | ||||||
| 
 | 
 | ||||||
| # generate and display an execution profile, don't save or simplify
 | # generate and display an execution profile, don't save or simplify
 | ||||||
| quickprof: samplejournals #bin/hledger-prof
 | quickprof: samplejournals #bin/hledger-prof
 | ||||||
| @ -586,12 +586,12 @@ quickprof: samplejournals #bin/hledger-prof | |||||||
| heap: samplejournals #bin/hledger-prof
 | heap: samplejournals #bin/hledger-prof
 | ||||||
| 	@echo "Profiling heap with: $(PROFCMD)" | 	@echo "Profiling heap with: $(PROFCMD)" | ||||||
| 	$(PROFCMD) +RTS -hc -RTS | 	$(PROFCMD) +RTS -hc -RTS | ||||||
| 	mv hledger-prof.hp profs/$(TIME).hp | 	mv hledger-prof.hp doc/profs/$(TIME).hp | ||||||
| 	(cd profs; rm -f latest.hp; ln -s $(TIME).hp latest.hp; \
 | 	(cd doc/profs; rm -f latest.hp; ln -s $(TIME).hp latest.hp; \
 | ||||||
| 		hp2ps $(TIME).hp; rm -f latest.ps; ln -s $(TIME).ps latest.ps; rm -f *.aux) | 		hp2ps $(TIME).hp; rm -f latest.ps; ln -s $(TIME).ps latest.ps; rm -f *.aux) | ||||||
| 
 | 
 | ||||||
| viewheap: heap | viewheap: heap | ||||||
| 	$(VIEWPS) profs/latest.ps | 	$(VIEWPS) doc/profs/latest.ps | ||||||
| 
 | 
 | ||||||
| # generate and display a graphical heap profile, don't save
 | # generate and display a graphical heap profile, don't save
 | ||||||
| quickheap: samplejournals #bin/hledger-prof
 | quickheap: samplejournals #bin/hledger-prof
 | ||||||
| @ -608,12 +608,12 @@ quickcoverage: hledgerhpc | |||||||
| # generate a code coverage html report from running hledger COVCMD
 | # generate a code coverage html report from running hledger COVCMD
 | ||||||
| coverage: samplejournals hledgerhpc | coverage: samplejournals hledgerhpc | ||||||
| 	@echo "Generating code coverage html report for hledger command: $(COVCMD)" | 	@echo "Generating code coverage html report for hledger command: $(COVCMD)" | ||||||
| 	tools/runhledgerhpc "markup --destdir=profs/coverage" $(COVCMD) | 	tools/runhledgerhpc "markup --destdir=doc/profs/coverage" $(COVCMD) | ||||||
| 	cd profs/coverage; rm -f index.html; ln -s hpc_index.html index.html | 	cd doc/profs/coverage; rm -f index.html; ln -s hpc_index.html index.html | ||||||
| 
 | 
 | ||||||
| # view the last html code coverage report
 | # view the last html code coverage report
 | ||||||
| viewcoverage: | viewcoverage: | ||||||
| 	$(VIEWHTML) profs/coverage/index.html | 	$(VIEWHTML) doc/profs/coverage/index.html | ||||||
| 
 | 
 | ||||||
| # single-package debug prompts, using all cabal settings
 | # single-package debug prompts, using all cabal settings
 | ||||||
| 
 | 
 | ||||||
| @ -973,11 +973,11 @@ RSYNC=rsync | |||||||
| # push any new profiles and benchmark results to the public site
 | # push any new profiles and benchmark results to the public site
 | ||||||
| # beware, results will vary depending on which machine generated them
 | # beware, results will vary depending on which machine generated them
 | ||||||
| pushprofs: | pushprofs: | ||||||
| 	$(RSYNC) -azP profs/ simon@joyful.com:/repos/hledger/profs/ | 	$(RSYNC) -azP doc/profs/ simon@joyful.com:/repos/hledger/doc/profs/ | ||||||
| 
 | 
 | ||||||
| # fetch any new profiles and benchmark results from the public site
 | # fetch any new profiles and benchmark results from the public site
 | ||||||
| pullprofs: | pullprofs: | ||||||
| 	$(RSYNC) -azP simon@joyful.com:/repos/hledger/profs/ profs/ | 	$(RSYNC) -azP simon@joyful.com:/repos/hledger/doc/profs/ doc/profs/ | ||||||
| 
 | 
 | ||||||
| # compress the just-built platform binary. make hledgerPLATFORM first. Use
 | # compress the just-built platform binary. make hledgerPLATFORM first. Use
 | ||||||
| # the win variant on windows.
 | # the win variant on windows.
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user