Skip to content

Instantly share code, notes, and snippets.

View minrk's full-sized avatar

Min RK minrk

View GitHub Profile

mamba 2.6 performance test

this is a replication of the repo2docker tests/conda/downgrade test (environment files are unmodified), which is dramatically slower after upgrading mamba to 2.6.

Two stages:

  1. install initial frozen environment (@explicit file, no solve):

apiVersion: batch/v1
kind: Job
metadata:
name: s3-clone
spec:
parallelism: 1
template:
metadata:
labels:
app: cloner
FROM python:3.13-slim
RUN pip install boto3
COPY s3rmrf.py /usr/local/bin/s3rmrf.py
apiVersion: batch/v1
kind: Job
metadata:
name: s3-delete
spec:
parallelism: 1
template:
metadata:
labels:
app: deleter
<html>
<head>
<title>test</title>
</head>
<body>
<div id="out"></div>
<script type="text/javascript">
function onMessage(evt) {
const msg = JSON.parse(evt.data);
console.log(msg);
import json
import secrets
import sys
import time
import uuid
from copy import deepcopy
from dataclasses import asdict, dataclass
from functools import partial, wraps
from pathlib import Path
from subprocess import check_output
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
services:
proxy:
image: ghcr.io/minrk/configurable-http-proxy:custom-dump-netstat
# build:
# context: ..
command:
- --error-target=http://error-target
- --default-target=http://169.254.0.0
- --log-level=debug
environment:
FROM python:3.13-alpine
RUN apk add --no-cache net-tools
RUN pip install tornado
COPY main.py /main.py
CMD ["python3", "main.py"]