Subversion quick protocol benchmark

Subversion lets you choose the protocol used to connect from client to server, it has an impact on the authentication scheme but also on data transfer rate.

I ran a checkout on 2500 files and 50 MB with client running locally on server. As expected, "svn" was the fastest: "http" was 66% slower and "https" was 135% slower.

Also an export of same source tree is much faster than a checkout (up to 3 times faster in my tests depending on the number of files) because svn client does not need to create a local copy of each file nor metadata files (checksums, logs, ...) in .svn directories. So, it could be a little optimization for a build that does not need to commit any change.

Of course, when the client is remote, the impact of a slow network connection tends to lower these differences.

Aucun commentaire: