mirror of
https://codeberg.org/gigirassy/riptide
synced 2026-08-30 15:27:38 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d09e75704 | ||
|
|
20b370b45c | ||
|
|
322536168c | ||
|
|
0e4d9dbd86 | ||
|
|
92aca35c0a | ||
|
|
559c21c6a4 | ||
|
|
ab1a83b7d3 | ||
|
|
291be60f12 |
@@ -93,22 +93,38 @@ jobs:
|
||||
set -eu
|
||||
|
||||
SITEMAP_URL='https://riptide-pgo.blitzw.in/sitemaps/sitemap.xml'
|
||||
SITEMAP_URL_2='https://riptide-pgo.blitzw.in/sitemaps2/sitemap.xml'
|
||||
|
||||
printf 'Training with sitemap: <%s>\n' "$SITEMAP_URL"
|
||||
printf 'Training round 1 with sitemap: <%s>\n' "$SITEMAP_URL"
|
||||
|
||||
timeout 10m \
|
||||
/tmp/riptide-pgo/riptide \
|
||||
--sitemap "$SITEMAP_URL" \
|
||||
--output /tmp/pgo-urls.txt \
|
||||
--scheme https \
|
||||
--workers 16 \
|
||||
--timeout-secs 30
|
||||
/tmp/riptide-pgo/riptide \
|
||||
--sitemap "$SITEMAP_URL" \
|
||||
--output /tmp/pgo-urls.txt \
|
||||
--scheme https \
|
||||
--workers 16 \
|
||||
--timeout-secs 30
|
||||
|
||||
test -s /tmp/pgo-urls.txt
|
||||
|
||||
echo "Training input:"
|
||||
echo "Training round 1 input:"
|
||||
wc -l /tmp/pgo-urls.txt
|
||||
|
||||
printf 'Training round 2 with sitemap: <%s>\n' "$SITEMAP_URL_2"
|
||||
|
||||
timeout 10m \
|
||||
/tmp/riptide-pgo/riptide \
|
||||
--sitemap "$SITEMAP_URL_2" \
|
||||
--output /tmp/pgo-urls-2.txt \
|
||||
--scheme https \
|
||||
--workers 16 \
|
||||
--timeout-secs 30
|
||||
|
||||
test -s /tmp/pgo-urls-2.txt
|
||||
|
||||
echo "Training round 2 input:"
|
||||
wc -l /tmp/pgo-urls-2.txt
|
||||
|
||||
echo "Generated profiles:"
|
||||
find /tmp/riptide-pgo/profiles \
|
||||
-name '*.profraw' \
|
||||
@@ -120,9 +136,9 @@ jobs:
|
||||
-name '*.profraw' \
|
||||
-type f \
|
||||
-print -quit
|
||||
)"
|
||||
)"
|
||||
|
||||
- name: Merge PGO profiles
|
||||
- name: Merge Round 1 of PGO profiles
|
||||
shell: sh
|
||||
run: |
|
||||
set -eu
|
||||
@@ -135,7 +151,8 @@ jobs:
|
||||
|
||||
test -s /tmp/riptide-pgo.profdata
|
||||
|
||||
- name: Build optimized Linux binary
|
||||
|
||||
- name: Build finalized Linux binary
|
||||
shell: sh
|
||||
run: |
|
||||
set -eu
|
||||
@@ -171,7 +188,7 @@ jobs:
|
||||
./dist/riptide --help
|
||||
|
||||
- name: Upload Linux binary
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: riptide-linux
|
||||
path: dist/riptide
|
||||
@@ -195,7 +212,7 @@ jobs:
|
||||
nodejs
|
||||
|
||||
- name: Download Linux artifact
|
||||
uses: actions/download-artifact@v4
|
||||
uses: forgejo/download-artifact@v5
|
||||
with:
|
||||
name: riptide-linux
|
||||
path: release
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "riptide"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
edition = "2021"
|
||||
|
||||
[profile.release]
|
||||
|
||||
+1
-2
@@ -2,7 +2,6 @@ use std::{
|
||||
collections::{HashSet, VecDeque},
|
||||
fs,
|
||||
io::Read,
|
||||
sync::Arc,
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
@@ -11,7 +10,7 @@ use clap::{Parser, ValueEnum};
|
||||
use flate2::read::GzDecoder;
|
||||
use futures::stream::{self, StreamExt};
|
||||
use mimalloc::MiMalloc;
|
||||
use reqwest::{header, Client};
|
||||
use reqwest::{Client};
|
||||
use roxmltree::Document;
|
||||
use tokio::time::timeout;
|
||||
use url::Url;
|
||||
|
||||
Reference in New Issue
Block a user