Coder Social home page Coder Social logo

Comments (2)

werkt avatar werkt commented on June 23, 2024

That file is empty. If there were any content there, the ActionResult in the ExecuteResponse would contain either the raw content, or its digest.

The start of information you want to understand is already printed out there:

      "executionMetadata": {
        "worker": "localhost:8981",
        "queuedTimestamp": "2023-10-06T17:54:34.760Z",
        "workerStartTimestamp": "2023-10-06T17:54:34.792Z",
        "workerCompletedTimestamp": "2023-10-06T17:54:42.637Z",
        "inputFetchStartTimestamp": "2023-10-06T17:54:34.792Z",
        "inputFetchCompletedTimestamp": "2023-10-06T17:54:37.295Z",
        "executionStartTimestamp": "2023-10-06T17:54:37.298Z",
        "executionCompletedTimestamp": "2023-10-06T17:54:37.834Z",
        "outputUploadStartTimestamp": "2023-10-06T17:54:37.834Z",
        "outputUploadCompletedTimestamp": "2023-10-06T17:54:42.637Z"
      }

Line up those timestamps, and you find that your operation took 2.4s to fetch, ~500ms to execute, and 4.8s to upload outputs. If you were running this against a very recent commit, you may have been subject to a revert that @80degreeswest rolled out in #1489, and I recommend you post what version of buildfarm you're running against in general if we're to pursue performance further.

from bazel-buildfarm.

SinOverCos avatar SinOverCos commented on June 23, 2024

Thanks @werkt

Is there useful debug information inside /tmp/worker/shard/operations? It seems that it gets deleted after the operation ends (which makes sense).

I'm trying to debug an action that does have a much longer gap between executionStartTimestamp and executionCompletedTimestamp when executing remotely vs. locally. I'm trying to get more debug information about that specific command.

        "executionStartTimestamp":        "2023-10-13T13:21:15.991Z",
        "executionCompletedTimestamp":    "2023-10-13T13:21:24.665Z",
  • when executing locally, this libgoogle_longrunning_operations_proto-speed.jar takes closer to 500ms vs. 5s

https://pastebin.com/FG8DDu9i

from bazel-buildfarm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.