Skip to content

Instantly share code, notes, and snippets.

View benfavre's full-sized avatar
💻
At the office

Webdesign29 benfavre

💻
At the office
View GitHub Profile
@benfavre
benfavre / flamegraph-pr-91592.svg
Created March 18, 2026 18:20
Flamegraph: PR #91592 hotspot in canary baseline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / flamegraph-pr-91599.svg
Created March 18, 2026 18:20
Flamegraph: PR #91599 hotspot in canary baseline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / flamegraph-pr-91575.svg
Created March 18, 2026 18:20
Flamegraph: PR #91575 hotspot in canary baseline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / flamegraph-pr-91586.svg
Created March 18, 2026 18:20
Flamegraph: PR #91586 hotspot in canary baseline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / flamegraph-pr-91577.svg
Created March 18, 2026 18:20
Flamegraph: PR #91577 hotspot in canary baseline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / flamegraph-AFTER.svg
Created March 18, 2026 18:16
Next.js SSR: full flamegraphs + raw CPU profiles (before/after 30 perf PRs)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / flamegraph-after-small.svg
Created March 18, 2026 18:15
Next.js SSR flamegraphs: before (canary) vs after (30 perf PRs)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benfavre
benfavre / leaflet-react.ts
Last active May 18, 2024 08:14
Leaflet react
import { LeafletProvider, createLeafletContext } from '@react-leaflet/core';
import { Map as LeafletMap, LatLngBoundsExpression, LatLngExpression, MapOptions, FitBoundsOptions } from 'leaflet';
import React, { useCallback, useEffect, useRef, useState } from 'react';
interface MapContainerProps extends MapOptions {
bounds?: LatLngBoundsExpression;
boundsOptions?: FitBoundsOptions;
center?: LatLngExpression;
children?: React.ReactNode;
className?: string;
@benfavre
benfavre / find-ovh-ftp-host.js
Created July 24, 2023 13:21
FIND OVH FTP HOST for given login, password
const ftp = require("basic-ftp")
let currentServer = 1;
const getHost = (number) => {
number = number.toString().padStart(3, '0');
let host = `ftp.cluster${number}.hosting.ovh.net`;
console.log('Host is :', host);
return host;
}
const connectFtp = async (number) => {
let client = new ftp.Client()
@benfavre
benfavre / README-axelor-install.TXT
Created May 29, 2023 23:27
axelor install from source
//https://forum.axelor.com/t/axelor-5-3-3-installation/2913/22
Axelor Ver 5.3.6 Installation in Ubuntu 18.0
Prerequisites
Git 9
OpenJDK 8 15
Tomcat 9.0.26 8
PostgreSQL version 10.12 8 or later
Install Git
Install Git 9