bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/5] Miscellaneous speed up patches


From: Paolo Bonzini
Subject: [PATCH 0/5] Miscellaneous speed up patches
Date: Wed, 2 Nov 2016 17:24:13 +0100

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).

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

-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]