<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>252355</bug_id>
          
          <creation_ts>2023-02-15 15:27:57 -0800</creation_ts>
          <short_desc>[browserperfdash-benchmark] Add optional --timestamp parameter to send the data to the server with a custom date.</short_desc>
          <delta_ts>2023-02-15 19:22:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=252134</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>249031</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1933983</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-02-15 15:27:57 -0800</bug_when>
    <thetext>When the browserperfdash-benchmark script sends the data for a bot to a server like https://browserperfdash.igalia.com the data is assumed to be received now.

That is fine for the general use case.

But sometimes it is desirable to send data with a different date, for example for the following use cases:

Use case 1)
 - Several boards (for example RPis) are downloading build products from the build server and doing benchmarks. It is not guaranteed that the boards end the
testing in order, so it can happen that a board testing WebKit version r12345 ends after the board testing version r12346.

Use case 2)
  - Some data for older versions is missed and you want to setup a bot to test that older versions and then have the data ordered properly on the dashboard.



For this use cases the runner should support a timestamp optional parameter that can be used to send the data with a specific date to the server.
The server already supports this, so this bug is about implementing it on the runner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933988</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-02-15 15:30:54 -0800</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #0)
[...]
&gt; Use case 1)
&gt;  - Several boards (for example RPis) are downloading build products from the
&gt; build server and doing benchmarks. It is not guaranteed that the boards end
&gt; the
&gt; testing in order, so it can happen that a board testing WebKit version
&gt; r12345 ends after the board testing version r12346.
&gt; 

The idea here would be to send to the server as timestamp either the date of the build or the date of the commit that is being tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934005</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-02-15 16:31:23 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10180</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934059</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-15 19:21:40 -0800</bug_when>
    <thetext>Committed 260345@main (dc0001d225df): &lt;https://commits.webkit.org/260345@main&gt;

Reviewed commits have been landed. Closing PR #10180 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934060</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-15 19:22:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/105528181&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>