Skip to content
This repository was archived by the owner on Jan 4, 2020. It is now read-only.
This repository was archived by the owner on Jan 4, 2020. It is now read-only.

Execution time on VM, Logging level #195

@JakubMazur

Description

@JakubMazur

I'm using bitrise.io as a build server and they create new VM every time build is happening. I need to execute marathon script every time before build. The issue I'm having is execution time taking a lot of time, so I made as simple as possible shell script:

echo "import Foundation; print(\"Hello World\")" > helloWorld.swift
marathon run helloWorld.swift --verbose

And it's taking over 3 minutes to run there.
I'm trying to debug this with --verbose with an assistance of bitrise support team member to see what's taking the most time there, but it's logging everything at once when the scripts end execution. Any solutions for more detail logging and identifying what causing this extend execution time?

In case if installation time does matter (It shouldn't I guess)
I'm installing Marathon via SPM like:

git clone https://github.com/JohnSundell/Marathon.git
cd Marathon
swift build -c release -Xswiftc -static-stdlib
cp -f .build/release/Marathon /usr/local/bin/marathon

And this installation script finishes there with reasonable time.

I had suspisions for hidden installation and copying files that causing the issues, but running the script twice actually double the time of execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions