Skip to content

Instantly share code, notes, and snippets.

View jdalsem's full-sized avatar
💻
Coding

Jeroen Dalsem jdalsem

💻
Coding
View GitHub Profile
@jdalsem
jdalsem / test.php
Created November 18, 2016 12:21
Test script for benchmark elgg_get_entities functions
<?php
set_time_limit(0);
$starttime = microtime(true);
echo '<h1>Benchmark</h1><br />';
$options = [
//Fix z-index youtube video embedding
$("iframe").each(function() {
var url = $(this).attr("src");
if (!url) {
return;
}
var parts = elgg.parse_url(url);
var args = {};