This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Benchark ran on my laptop: | |
spark-submit --master local[*] benchmarks/strings-spark.py | |
To run it: | |
* Download and install Spark 2.4.0 (https://spark.apache.org/downloads.html) | |
* Run the Vaex & Pandas benchmark (https://github.com/vaexio/vaex/blob/master/benchmarks/strings.py), | |
the test.parquet file will be created | |
* Set `args_n` constant in this script to the same value you used for `n` variable, | |
e.g. `python strings.py -n8`. |