This repository contains two sets of source code + some bash scripts to compare performance of HTML parsing in Java vs. Go.
You can see corresponding blog post here.
- Clone the repository
- Compile go source with
go build main.go
- Package Java source with
mvn package
- run
./hbenchmark.sh 10 links.txt
to do 10 executions based on links inlinks.txt
file.