Skip to content

Instantly share code, notes, and snippets.

Mirosław Filip mirfilip

  • Schibsted Tech Polska
  • Cracow
Block or report user

Report or block mirfilip

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mirfilip
mirfilip / feed_memory_usage.php
Created Jul 27, 2017
Testing memory usage of Feed-IO
View feed_memory_usage.php
<?php
require __DIR__."/vendor/autoload.php";
$client = new GuzzleHttp\Client();
$feed = $argv[1];
echo "Reading $feed" . PHP_EOL . PHP_EOL;
print_mem_usage('before request');
View gist:941ede7a1c8a2b4b0fa8
<?php
require_once __DIR__ . '/../vendor/autoload.php';
/**
* Class InputFilterTest
*/
class InputFilterTest extends \PHPUnit_Framework_TestCase
{
/**
* @dataProvider provider
You can’t perform that action at this time.