-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update ASV config to use paramers #2776
base: master
Are you sure you want to change the base?
Conversation
d76cf91
to
6649574
Compare
1ccbb3e
to
4e4a651
Compare
benchmarks/renderImageItem.py
Outdated
for size in self.params.sizes: | ||
size_with_channels = (size[0], size[1], channels) if channels != 1 else size | ||
if xp.dtype(dtype) in (xp.float32, xp.float64): | ||
data = xp.random.default_rng().standard_normal( |
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.
Calling default_rng()
instantiates a new Generator object. Was that intended or could a single Generator object be used?
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.
I just went w/ the example in the docs; you're right, should probably just use a single generator object
4e4a651
to
dc1740f
Compare
CONTRIBUTING.md
Outdated
python setup.py asv_config | ||
asv config |
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.
Error running this command:
(asv-test) PS C:\Users\...\pyqtgraph> asv config
usage: asv [-h] [--verbose] [--config CONFIG] [--version]
{help,quickstart,machine,setup,run,dev,continuous,find,rm,publish,preview,profile,update,show,compare,check,gh-pages} ...
asv: error: argument {help,quickstart,machine,setup,run,dev,continuous,find,rm,publish,preview,profile,update,show,compare,check,gh-pages}: invalid choice: 'config' (choose from 'help', 'quickstart', 'machine', 'setup', 'run', 'dev', 'continuous', 'find', 'rm', 'publish', 'preview', 'profile', 'update', 'show', 'compare', 'check', 'gh-pages')
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.
That's what I get for going off memory, pretty sure it should be asv setup
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.
Do tests require python 3.11? If so, might be worth specifying in the docs
(asv-test) PS C:\Users\ntjess\Desktop\git\pyqtgraph> asv setup
· No executable found for python 3.11
· No executable found for python 3.11
· No executable found for python 3.11
Disregard, I see it earlier
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.
Huh; I'm fairly certain I tested on Python 3.11... haven't seen that error before tho
dc1740f
to
802ef55
Compare
renderImageItem
now uses parameterization better to keep track of attributes of a given testcupy
version is better detectedPYQTGRAPH_QT_LIB
's are cycled through forcing the use of different Qt bindings.TODO: