Pressroom template verwijderd, website naar root van repo

This commit is contained in:
2020-03-22 15:30:52 +01:00
parent 2cb6a77425
commit f3d1c41e91
7620 changed files with 0 additions and 186900 deletions

View File

@@ -0,0 +1,26 @@
---
layout: default
permalink: /performance/
title: API
---
# Performance
Flysystem aims to be as reliable as possible. In some cases this means doing extra
checks to make sure the outcome will be as expected. For some adapter this means Flysystem
will make extra calls to assert whether or not a file exists. This improves the reliability
but also impacts performance. You can opt out of this behaviour.
~~~ php
new League\Flysystem\Config;
new League\Flysystem\Filesystem;
$local = Filesystem($localAdapter, new Config([
'disable_asserts' => true,
]));
~~~
This will disable the asserts which happen before the following calls: write, writeStream, update,
updateStream, copy (2x), and delete.
This functionality is available since `1.0.26`.