<commit_before>uldl.js
=======

Quick and Dirty Javascript hack for estimating a user's upload and download speeds to your server.<commit_msg>Update README.<commit_after>uldl.js
=======

Quick and Dirty Javascript hack for estimating a user's upload and download speeds to your server.

Eventually, this is going to be a lovely jquery plugin, if I can be bothered, but I'm still working
towards that. For now it's just anything goes - it already depends on jquery though.

Trying it Out
-------------

First, create the object files, all ~200mb of them.

  ./create-download-objects.sh

This will take a while. Once it's done, run a web server, e.g:

  php -S localhost:8001

Then, in your browser of choice, go to:

  http://localhost:8001/example.html

And click "Test Download Speed".  It'll print the result when it's done. Note that because you are
running it on your local computer, it'll be pretty damn fast! Try it on a remote web server if you
want to see some more realistic numbers.

Known Issues
------------

See the github issue tracker at https://github.com/grundleborg/uldl.js/issues for outstanding tasks,
and to report any bugs you find.

Merge requests welcome.


{'fraction_non_alphanumeric': 0.09052453468697123, 'fraction_numerical': 0.009306260575296108, 'mean_word_length': 3.603112840466926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 1, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5945918', 'n_tokens_mistral': 351, 'n_tokens_neox': 314, 'n_words': 171}