Skip to content

bpo-35884: Add variable access benchmarking script#11725

Merged
rhettinger merged 6 commits intopython:masterfrom
rhettinger:var_benchmark
Feb 3, 2019
Merged

bpo-35884: Add variable access benchmarking script#11725
rhettinger merged 6 commits intopython:masterfrom
rhettinger:var_benchmark

Conversation

@rhettinger
Copy link
Copy Markdown
Contributor

@rhettinger rhettinger commented Feb 1, 2019

@rhettinger rhettinger added the performance Performance or resource usage label Feb 1, 2019
Copy link
Copy Markdown
Contributor

@eamanu eamanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rhettinger rhettinger merged commit f75d59e into python:master Feb 3, 2019
@rhettinger rhettinger deleted the var_benchmark branch February 3, 2019 06:55
a[0]=1; a[0]=1; a[0]=1; a[0]=1; a[0]=1
a[0]=1; a[0]=1; a[0]=1; a[0]=1; a[0]=1

def write_dict(trials=trials, a={0: 1}):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a dict read/write benchmark with short str keys would probably also be interesting in comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants