[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/5] Miscellaneous speed up patches
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 0/5] Miscellaneous speed up patches |
Date: |
Fri, 11 Nov 2016 12:28:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 02/11/2016 17:24, Paolo Bonzini wrote:
> These patches optimize the hotspots in QEMU's "noop" build:
>
> - patch 1: parse_file_seq / strpbrk
>
> - patch 2: find_char_unquote
>
> - patch 3: variable_hash_1 / variable_hash_2
>
> - patches 4+5: handle_function
>
> On my laptop this goes from ~15.4 seconds to ~13.0 (a 15% improvement).
> (My employer has a blanket assignment on file).
Paul, any news?
Thanks,
Paolo
> Thanks,
>
> Paolo
>
> Paolo Bonzini (5):
> optimize checking for globs
> use strchr for simple case of find_char_unquote
> use jhash for STRING_N_HASH
> remove MAP_PERCENT
> speedup parsing of functions
>
> Makefile.am | 6 ++---
> Makefile.in | 19 ++++++-------
> function.c | 9 +++++--
> hash.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> hash.h | 21 +++++----------
> main.c | 5 +++-
> makeint.h | 3 ++-
> read-opt.c | 88
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> read.c | 79 +++++++++++++++++++++++++++++++++++++++++-------------
> 9 files changed, 261 insertions(+), 49 deletions(-)
> create mode 100644 read-opt.c
>
- [PATCH 0/5] Miscellaneous speed up patches, Paolo Bonzini, 2016/11/02
- [PATCH 1/5] optimize checking for globs, Paolo Bonzini, 2016/11/02
- [PATCH 3/5] use jhash for STRING_N_HASH, Paolo Bonzini, 2016/11/02
- [PATCH 5/5] speedup parsing of functions, Paolo Bonzini, 2016/11/02
- [PATCH 4/5] remove MAP_PERCENT, Paolo Bonzini, 2016/11/02
- [PATCH 2/5] use strchr for simple case of find_char_unquote, Paolo Bonzini, 2016/11/02
- Re: [PATCH 0/5] Miscellaneous speed up patches,
Paolo Bonzini <=