-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quicksort performance tests #562
Comments
Remaining todos here:
|
Only the javascript version remains now. We should update our performance table on the website when the js version is done. |
Also, we can simply sort |
That's a lousy test of qsort because it only tests one swapping pattern over and over instead of mixing it up. |
I think it is good enough for the purpose. Of course, an RNG is only 5 lines or so, but you have to write it in every language. -viral On 17-Mar-2012, at 11:57 PM, Stefan Karpinski wrote:
|
Or just put the same huge randonmly filled array in each language. That would make it almost just a copy past. |
We can get the JS version of qsort from: https://bugzilla.mozilla.org/show_bug.cgi?id=739016 |
This seems to be in good enough shape now. |
Stdlib: SparseArrays URL: https://github.com/JuliaSparse/SparseArrays.jl.git Stdlib branch: main Julia branch: master Old commit: 0dd8d45 New commit: 14333ea Julia version: 1.12.0-DEV SparseArrays version: 1.12.0 Bump invoked by: @ViralBShah Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaSparse/SparseArrays.jl@0dd8d45...14333ea ``` $ git log --oneline 0dd8d45..14333ea 14333ea Break recursion (#579) 07cf4a6 Update ci.yml (#578) 33491e0 added diagonal-sparse multiplication (#564) 8f02b7f doc: move solvers doc to `src\solvers.md` (#576) 485fd4b Inline sparse-times-dense in-place multiplication (#567) f10d4da added specialized method for 3-argument dot with diagonal matrix (#565) 70c06b1 Diagonal-sandwiched triple product for SparseMatrixCSC (#562) 313a04f Change default QR tolerance to match SPQR (#557) 81d49e9 Update ci.yml (#558) ``` Co-authored-by: Dilum Aluthge <[email protected]>
Currently, the quicksort performance tests across various languages are written in a variety of different ways. It would be best to implement the same algorithm, without randomness across all languages.
The text was updated successfully, but these errors were encountered: