-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-24.10' into my_new_branch
- Loading branch information
Showing
40 changed files
with
5,469 additions
and
1,901 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## `nx-cugraph` Benchmarks | ||
|
||
### Overview | ||
|
||
This directory contains a set of scripts designed to benchmark NetworkX with the `nx-cugraph` backend and deliver a report that summarizes the speed-up and runtime deltas over default NetworkX. | ||
|
||
Our current benchmarks provide the following datasets: | ||
|
||
| Dataset | Nodes | Edges | Directed | | ||
| -------- | ------- | ------- | ------- | | ||
| netscience | 1,461 | 5,484 | Yes | | ||
| email-Eu-core | 1,005 | 25,571 | Yes | | ||
| cit-Patents | 3,774,768 | 16,518,948 | Yes | | ||
| hollywood | 1,139,905 | 57,515,616 | No | | ||
| soc-LiveJournal1 | 4,847,571 | 68,993,773 | Yes | | ||
|
||
|
||
|
||
### Scripts | ||
|
||
#### 1. `run-main-benchmarks.sh` | ||
This script allows users to run selected algorithms across multiple datasets and backends. All results are stored inside a sub-directory (`logs/`) and output files are named based on the combination of parameters for that benchmark. | ||
|
||
NOTE: If running with all algorithms, datasets, and backends, this script may take a few hours to finish running. | ||
|
||
**Usage:** | ||
```bash | ||
bash run-main-benchmarks.sh # edit this script directly | ||
``` | ||
|
||
#### 2. `get_graph_bench_dataset.py` | ||
This script downloads the specified dataset using `cugraph.datasets`. | ||
|
||
**Usage:** | ||
```bash | ||
python get_graph_bench_dataset.py [dataset] | ||
``` | ||
|
||
#### 3. `create_results_summary_page.py` | ||
This script is designed to be run after `run-gap-benchmarks.sh` in order to generate an HTML page displaying a results table comparing default NetworkX to nx-cugraph. The script also provides information about the current system. | ||
|
||
**Usage:** | ||
```bash | ||
python create_results_summary_page.py > report.html | ||
``` |
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.