File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,15 @@ You can also run them using py.test with extra args:
11
11
12
12
$ py.test --benchmark-warmup=on runtime.py -k interpolation
13
13
14
- To profile the benchmark suite, we recommend py-spy as a
15
- good tool. Install py-spy: https://github.com/benfred/py-spy
14
+ The “plural form” tests are the cases where GNU gettext performs most
15
+ favourably, partly because it uses a much simpler (and incorrect) function for
16
+ deciding plural forms, while we use the more complex ones from CLDR. You can
17
+ exclude those by doing:
18
+
19
+ $ py.test --benchmark-warmup=on runtime.py -k 'not plural'
20
+
21
+ To profile the benchmark suite, we recommend py-spy as a good tool. Install
22
+ py-spy: https://github.com/benfred/py-spy
16
23
17
24
Then do something like this to profile the benchmark. Depending on your
18
25
platform, you might need to use ` sudo ` .
You can’t perform that action at this time.
0 commit comments