|
|
|
Re: Google optimizing PHP |
Si vous voulez bloquer ce service sur vos fils RSS
Si vous voulez nous contacter ou nous proposer un fil RSS
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Re: Google optimizing PHP Par kinqpinz.infoLe [2009-06-26] à 22:54:14
Présentation : This is a quick script I wrote to test the points made in this Google developer video regarding fast(er|est) code execution in PHP. Turns out it's right on point. The short of the text and video is that you should use echo with the comma notation for printing strings (to avoid memory intensive string concatenating routines) and single quotes for strings. When PHP encounters double quotes it wants to first find and populate variables within that string, then move on to printing it, whereas single quotes move right along. Since I'm working on my OOP, here's an easy bench class that uses, in the alleged (now proven) slow test, double quotes with nested variables, and single quotes with echo and comma notation for appending variables in the fast test. If you wish to try it out, do it from the command line by making this code executable in a file that will accept its first argument, $argv[1], as the main loop amount. In short tests, the optimized PHP runs at double the speed. As the time lengthens, the gap is not so great but still quite tangible. Note the comments in the code's header to see my results on an old yet good laptop. [See link for code.]
Les mots clés de la revue de presse pour cet article : google Les videos sur SecuObs pour les mots clés : google Les mots clés pour les articles publiés sur SecuObs : google Les éléments de la revue Twitter pour les mots clé : google
Les derniers articles du site "kinqpinz.info" :
- New world - 8 feeds - HTTP sploit - The pasteybin archive - Rollin' to July - Re: Google optimizing PHP - AppSecLive, Bonsai Sec, The Invisible Things, The Open Group RSS - Phrack #66 added to library - Re: Astalavista - Remembering Kitty - Local buffer overflow exploit reverse shell
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Si vous voulez bloquer ce service sur vos fils RSS :
- avec iptables "iptables -A INPUT -s 88.191.75.173 --dport 80 -j DROP"
- avec ipfw et wipfw "ipfw add deny from 88.191.75.173 to any 80"
- Nous contacter par mail
| Mini-Tagwall des articles publiés sur SecuObs : | | | | sécurité, exploit, windows, microsoft, réseau, attaque, outil, vulnérabilité, audit, système, virus, internet, données, présentation, metasploit, linux, bluetooth, protocol, vista, scanner, réseaux, shell, engineering, rootkit, paquet, conférence, trames, wishmaster, téléphone, source, sysun, noyau, mobile, https, mémoire, rapport, botnet, téléphones, libre, reverse, navigateur, patch, snort, scapy, intel |
| Mini-Tagwall de l'annuaire video : | | | | vmware, security, virus, biometric, windows, lockpicking, password, botnet, metasploit, tutorial, attack, crypt, linux, network, iphone, server, exploit, wimax, conficker, virtu, virtual, engineering, cisco, reverse, shmoocon, wireshark, ettercap, hacker, firewall, internet, knoppix, rootkit, arduino, wireless, source, conference, backtrack, openbsd, brucon, systm, overflow, openssh, access, buffer, remote |
| Mini-Tagwall des articles de la revue de presse : | | | | security, microsoft, windows, hacker, attack, network, vulnerability, google, exploit, malware, internet, remote, iphone, server, inject, patch, apple, twitter, mobile, virus, ebook, facebook, vulnérabilité, crypt, source, linux, password, intel, research, virtual, phish, access, tutorial, trojan, social, privacy, firefox, adobe, overflow, office, cisco, conficker, botnet, pirate, sécurité |
| Mini-Tagwall des Tweets de la revue Twitter : | | | | security, linux, botnet, attack, metasploit, cisco, defcon, phish, exploit, google, inject, server, firewall, network, twitter, vmware, windows, microsoft, compliance, vulnerability, python, engineering, source, kernel, crypt, social, overflow, nessus, crack, hacker, virus, iphone, patch, virtual, javascript, malware, conficker, pentest, research, email, password, adobe, apache, proxy, backtrack |
|
|
|
|
|