Skip to content
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

cycle profiler for VM opcodes #36000

Closed
jhylton mannequin opened this issue Jan 30, 2002 · 9 comments
Closed

cycle profiler for VM opcodes #36000

jhylton mannequin opened this issue Jan 30, 2002 · 9 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@jhylton
Copy link
Mannequin

jhylton mannequin commented Jan 30, 2002

BPO 510695
Nosy @tim-one, @loewis, @arigo
Files
  • tsc.patch
  • test_cgi.sum: Summary of test_cgi measurements
  • pystone.sum: Summary of pystone measurements
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2004-06-08.08:20:20.000>
    created_at = <Date 2002-01-30.13:21:32.000>
    labels = ['interpreter-core']
    title = 'cycle profiler for VM opcodes'
    updated_at = <Date 2004-06-08.08:20:20.000>
    user = 'https://bugs.python.org/jhylton'

    bugs.python.org fields:

    activity = <Date 2004-06-08.08:20:20.000>
    actor = 'loewis'
    assignee = 'jhylton'
    closed = True
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2002-01-30.13:21:32.000>
    creator = 'jhylton'
    dependencies = []
    files = ['3929', '3930', '3931']
    hgrepos = []
    issue_num = 510695
    keywords = ['patch']
    message_count = 9.0
    messages = ['38815', '38816', '38817', '38818', '38819', '38820', '38821', '38822', '38823']
    nosy_count = 4.0
    nosy_names = ['tim.peters', 'loewis', 'jhylton', 'arigo']
    pr_nums = []
    priority = 'low'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue510695'
    versions = []

    @jhylton
    Copy link
    Mannequin Author

    jhylton mannequin commented Jan 30, 2002

    This is just some code I'm noodling around with. It
    counts the number of cycles each Python VM opcode takes
    to execute, using the Pentium timestamp counter.

    @jhylton jhylton mannequin closed this as completed Jan 30, 2002
    @jhylton jhylton mannequin self-assigned this Jan 30, 2002
    @jhylton jhylton mannequin added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jan 30, 2002
    @jhylton jhylton mannequin closed this as completed Jan 30, 2002
    @jhylton jhylton mannequin self-assigned this Jan 30, 2002
    @jhylton jhylton mannequin added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jan 30, 2002
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Oct 7, 2002

    Logged In: YES
    user_id=21627

    Is this still of relevance?

    @jhylton
    Copy link
    Mannequin Author

    jhylton mannequin commented Oct 9, 2002

    Logged In: YES
    user_id=31392

    sure

    @arigo
    Copy link
    Mannequin

    arigo mannequin commented Nov 12, 2002

    Logged In: YES
    user_id=4771

    I think that you should try and convince people that it is a
    generally useful information to have, and that the fact that
    it is highly non-portable does not hurt. Right now it looks
    more like a change that a core developer would temporarily
    want to do to tune the VM.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Sep 20, 2003

    Logged In: YES
    user_id=21627

    OTOH, the patch is prepared for temporary usage, by means of
    a configure option. Since nobody has been objecting
    strongly, I'll accept this patch.

    @tim-one
    Copy link
    Member

    tim-one commented Mar 21, 2004

    Logged In: YES
    user_id=31435

    Changed resolution from Accepted to Out-of-Date -- several
    parts of this patch fail to apply now. Leaving assigned to
    Jeremy. Still seems like a fine idea to me!

    2 similar comments
    @tim-one
    Copy link
    Member

    tim-one commented Mar 21, 2004

    Logged In: YES
    user_id=31435

    Changed resolution from Accepted to Out-of-Date -- several
    parts of this patch fail to apply now. Leaving assigned to
    Jeremy. Still seems like a fine idea to me!

    @tim-one
    Copy link
    Member

    tim-one commented Mar 21, 2004

    Logged In: YES
    user_id=31435

    Changed resolution from Accepted to Out-of-Date -- several
    parts of this patch fail to apply now. Leaving assigned to
    Jeremy. Still seems like a fine idea to me!

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Jun 8, 2004

    Logged In: YES
    user_id=21627

    I have updated the patch, and committed it as

    README 1.182
    configure 1.446
    configure.in 1.457
    pyconfig.h.in 1.97
    libsys.tex 1.70
    pystate.h 2.29
    NEWS 1.995
    ceval.c 2.399
    pystate.c 2.31
    sysmodule.c 2.124

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant