freetype-devel
[Top][All Lists]
Advanced

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

Re: ftbench: last updates


From: Werner LEMBERG
Subject: Re: ftbench: last updates
Date: Tue, 12 Sep 2023 15:17:09 +0000 (UTC)

>> With 'bulk test' I mean that you don't time single iterations but
>> do timings for 10 iterations in a group, say, thus avoiding
>> issues with the granularity of the OS timing functions.
>
> I already changed the working way of the timing.  I only start the
> benchmark at beginning and stop at the end.

Sorry, but I don't understand your last sentence, please elaborate.

>> I wouldn't use '**' – this looks like a footnote, and people start
>> searching where it belongs to. Instead, please use a simple
>> itemization.

Well, in the latest incarnation of the HTML page there is now a single
line with a '*'.  An enumeration needs at least two items, otherwise
it again looks like a footnote.  In other words, the second sentence
need to start with '*', too.

>> * The sentence about '(X | Y') is cryptic.  [...]
>
> done!

Thanks, but the current text

  If two values are given in the 'Iterations' column, those are belong
  to baseline and benchmark in order.

is not correct English.  Maybe

  If a value in the 'Iterations' column is given as '*x* | *y*',
  values *x* and *y* give the number of iterations in the baseline and
  the benchmark test, respectively.

BTW, I suggest that you add another sentence, explaining *why* there
are two values at all.

>> The links for `Baseline` and `Benchmark` to the `.txt` files are
>> absolute and thus not portable.  They must be relative.
>
> I didnt get this clear.  Since objs dir and the source dir
> different, I needed to give abs path.

Why?  Simply give one directory relative to the other!  Assuming that
you have

  baseline_dir = /foo/bar/baseline/
  benchmark_dir = /foo/bar/benchmark/

and `benchmark.html` gets built in `benchmark_dir`, the two links to
file `Roboto_subset.txt` would be

  <a href="../baseline/Roboto_subset.txt">
  <a href="Roboto_subset.txt">

What am I missing?  Maybe

  
https://stackoverflow.com/questions/29055511/how-to-find-relative-path-given-two-absolute-paths

helps.  The benchmark should abort if it is not possible to construct
a relative path.


    Werner

reply via email to

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