-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated to 0.3.1 removing support for Int etc
- Loading branch information
Showing
18 changed files
with
1,900 additions
and
687 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "SortingLab" | ||
uuid = "562c1548-17b8-5b69-83cf-d8aebec229f5" | ||
authors = ["Dai ZJ <[email protected]>"] | ||
version = "0.3.0" | ||
version = "0.3.1" | ||
|
||
[deps] | ||
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# sort integer with missing | ||
x = allowmissing(rand(1:10_000, 1_000_000)) | ||
x[rand(1:length(x), 100_000)] .= missing | ||
@test isequal(fsort(x), sort(x)) | ||
|
||
int_missing_fsort_timing = @belapsed fsort(x); | ||
int_missing_sort_timing = @belapsed sort(x); | ||
|
||
# sort integer without missing | ||
xx = rand(1:10_000, 1_000_000) | ||
int_fsort_timing = @belapsed fsort(xx) | ||
int_missing_sort_timing = @belapsed sort(xx) | ||
|
||
groupedbar( | ||
repeat(["1m Integer w missing", "1m Integer wo missing"], inner=2), | ||
[int_missing_sort_timing, int_missing_fsort_timing, int_missing_sort_timing, int_fsort_timing], | ||
group=repeat(["Base.sort", "SortingLab.fsort"], outer=2), | ||
title="Intger sort (1m rows): Base vs SortingLab") | ||
savefig("benchmarks/int_1m_sort.png") | ||
|
||
|
||
int_missing_fsortperm_timing = @belapsed fsortperm(x); | ||
int_missing_sortperm_timing = @belapsed sortperm(x); | ||
|
||
int_fsortperm_timing = @belapsed fsortperm(xx) | ||
int_missing_sortperm_timing = @belapsed sortperm(xx) | ||
|
||
groupedbar( | ||
repeat(["1m Integer w missing", "1m Integer wo missing"], inner=2), | ||
[int_missing_sortperm_timing, int_missing_fsortperm_timing, int_missing_sortperm_timing, int_fsortperm_timing], | ||
group=repeat(["Base.sort", "SortingLab.fsort"], outer=2), | ||
title="Intger sortperm (1m rows): Base vs SortingLab") | ||
savefig("benchmarks/int_1m_sortperm.png") |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Oops, something went wrong.
a084b33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
a084b33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/115634
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: