[librsvg: 2/2] Merge branch 'hospitality'



commit d513ade4890bf968df936d8da22e7976533ffb9c
Merge: 9a63dc88 5dd2b89e
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Feb 9 08:34:24 2018 -0600

    Merge branch 'hospitality'

 CONTRIBUTING.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --cc CONTRIBUTING.md
index 98de4e69,f336aba3..6e693a9c
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@@ -126,7 -126,21 +126,21 @@@ have things working (or before even wri
  test-driven development), so we can avoid regressions later.  The test
  suite is documented in [`tests/README.md`][tests-readme].
  
+ ### Testing performance-related changes
+ 
+ You can use the [rsvg-bench] tool to benchmark librsvg.  It lets you
+ run a benchmarking program **on an already-installed librsvg
+ library**.  For example, you can ask rsvg-bench to render one or more
+ SVGs hundreds of times in a row, so you can take accurate timings or
+ run a sampling profiler and get enough samples.
+ 
+ **Why is rsvg-bench not integrated in librsvg's sources?**  Because
+ rsvg-bench depends on the [rsvg-rs] Rust bindings, and these are
+ shipped outside of librsvg.  This requires you to first install
+ librsvg, and then compile rsvg-bench.  We aim to make this easier in
+ the future.  Of course all help is appreciated!
+ 
 -[coc]: code_of_conduct.md
 +[coc]: code-of-conduct.md
  [gitlab]: https://gitlab.gnome.org/GNOME/librsvg
  [bugs-browse]: https://gitlab.gnome.org/GNOME/librsvg/issues
  [maintainer]: README.md#maintainers


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